Re: if_bridge not working with second interface

From: Andrew Thompson (thompsa_at_freebsd.org)
Date: 11/29/05

  • Next message: Douglass, Erik: "Wireless"
    Date: Wed, 30 Nov 2005 10:27:18 +1300
    To: ?zkan KIRIK <ozkan@mersin.edu.tr>
    
    

    On Sun, Nov 27, 2005 at 06:03:35PM +0200, ?zkan KIRIK wrote:
    > Hi,
    >
    > i am trying to bridge two interfaces via if_bridge.
    > i built a new kernel that includes "device if_bridge" line.
    >
    > # ifconfig bridge0 addm fxp0
    >
    > # ping 10.0.0.2
    > PING 10.0.0.2 (10.0.0.2): 56 data bytes
    > 64 bytes from 10.0.50.1: icmp_seq=0 ttl=64 time=1.847 ms
    >
    > it works. Then, I removed cable from fxp0 and plugged to fxp1.
    > # ifconfig bridge0 addm fxp1
    >
    > # ping 10.0.0.2
    > PING 10.0.0.2 (10.0.0.2): 56 data bytes
    > ping: sendto: Host is down

    Are you sure that fxp1 is up? make sure you have the following in
    rc.conf

     ifconfig_fxp0="up"
     ifconfig_fxp1="up"

    Your symptoms appear like you are missing the second line. Failing that,
    check your arp cache to see if the addresses are correct.

    Andrew
    _______________________________________________
    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: Douglass, Erik: "Wireless"

    Relevant Pages

    • Re: Bridging
      ... Umarzuki Mochlis wrote: ... Are you asking how to bridge those interfaces? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: ipfw bridge + fwd questions
      ... > Can I use ipfw fwd rules against traffic coming to one of the bridged ... bridge. ... Now I got ipfiltyer to do some redirection on bridged interfaces. ... To unsubscribe, ...
      (freebsd-net)
    • Re: distributed bridging [script]
      ... >> I'm trying to create a configuration that would bridge interfaces on ... Each host would have at least two interfaces, ... here's a completely untested script. ...
      (freebsd-net)
    • Re: bridge with access on both interfaces
      ... >>'inside' and 'outside' IPs separately on each bridge interface, ... Some tcpdumps on both in and outside interfaces suggest an ARP ... > If you want to use IP while bridging, ... and net4801 is that the 3 ethernet controllers now share one interrupt. ...
      (freebsd-net)
    • [BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel
      ... I've managed to fairly reliably trigger a deadlock in some portion of the linux networking code on my Debian test box. ... I'm pretty sure that it's a race condition of some sort as it doesn't trigger if I ifdown the interfaces one by one, but if I run "ifdown -a" then it triggers halfway through reliably. ... Just for a bit of background on why this is so complex: When I get this networking problem sorted out I'm going to set up heartbeat and a dummy "world1" interface with a shared MAC which is added to the "world" bridge when the current system is the DHCP-client master. ...
      (Linux-Kernel)