Point-to-point over ethernet

From: Anton Blad (antbl656_at_student.liu.se)
Date: 06/20/03

  • Next message: Han Hwei Woo: "VLAN/Bridge No response from trunk Interface"
    Date: Fri, 20 Jun 2003 16:28:55 +0200 (CEST)
    To: Frebbsd-net <freebsd-net@freebsd.org>
    
    

    Hello.

    I have problems setting up a point-to-point link on an ethernet interface.
    The computers on the link have IP:s 130.236.214.201 and 130.236.236.148,
    130.236.214.201 being a FreeBSD box running 5.1.

    In the ifconfig man page I saw the dest_address option for point-to-point
    links. However, this set the broadcast instead and didn't seem to work.
    Maybe it expects the interface to have the POINTOPOINT flag set..

    Then on the net I saw that I needed to use "route add -interface", so I
    tested:

    # ifconfig rl1 inet 130.236.214.201/32
    # route add -interface 130.236.236.148 130.236.214.201 -ifp rl1

    The configuration is then

    # ifconfig rl1
    rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet6 fe80::20a:cdff:fe02:e307%rl1 prefixlen 64 scopeid 0x3
            inet 130.236.214.201 netmask 0xffffffff broadcast 130.236.214.201
            ether 00:0a:cd:02:e3:07
            media: Ethernet autoselect (100baseTX <full-duplex>)
            status: active
    # netstat -rnf inet
    Destination Gateway Flags Refs Use Netif Expire
    default 130.236.214.1 UGSc 7 51450 rl0
    127.0.0.1 127.0.0.1 UH 4 15049 lo0
    130.236.214/24 link#2 UC 2 0 rl0
    130.236.214.1 00:20:9c:53:49:c4 UHLW 6 1146 rl0 1200
    130.236.214.201 00:0a:cd:02:e3:07 UHLW 2 2 lo0 =>
    130.236.214.201/32 link#3 UC 1 0 rl1
    130.236.214.255 ff:ff:ff:ff:ff:ff UHLWb 0 6 rl0
    130.236.236.148 130.236.214.201 UHS 0 4 rl1

    Then I get in the log:

    Jun 20 15:33:54 stonesail kernel: arp_rtrequest: bad gateway value
    Jun 20 15:34:41 stonesail kernel: arplookup 130.236.236.148 failed: could
    not allocate llinfo
    Jun 20 15:34:41 stonesail kernel: arpresolve: can't allocate llinfo for
    130.236.236.148rt

    I have the address 130.236.214.201 on the external interface rl0 too and
    thought this could be the problem, so I tried to setup the link on the 10
    net too. I tried different addresses, both on and off the net, and I tried
    different netmasks. I got the same error, though, and not even an arp
    request on the interface.

    What do I do wrong? I'm thankful for any help.

    / Anton
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Han Hwei Woo: "VLAN/Bridge No response from trunk Interface"

    Relevant Pages

    • Multiple network interfaces
      ... network interfaces. ... I'm having problems setting up networking to work ... The other interface is connected to the outside world with the hostname ...
      (comp.unix.solaris)
    • Re: rtentry and rtrequest
      ... jnet0: jnet_start_lockedcalled. ... arplookup 169.254.101.2 failed: could not allocate llinfo ... an interface w/o IFF_BROADCAST, as it utilizes broadcasts. ... IFF_BROADCAST just means that the interface has a broadcast address, ...
      (freebsd-net)
    • arplookup messages for 127.0.0.1
      ... > arplookup 127.0.0.1 failed: could not allocate llinfo ... > arpresolve: ... How can I find out which interface the packet (possibly ARP, ... I filter out spoofed packets on all interfaces and I got no messages ...
      (FreeBSD-Security)