All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] How to bridge a eth0 and usb0 device
@ 2006-10-24  2:46 Sun Zongjun-E5739C
  2006-10-27 18:21 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Sun Zongjun-E5739C @ 2006-10-24  2:46 UTC (permalink / raw)
  To: bridge


Hi

 I intent to use brctl to bridge two devices on linux box. One is eth0,
the other is USB net which is recognized as usb0 by linux box.

 Then I run following command 

# ifconfig eth0 down
# ifconfig usb0 down
# brctt addbr ipbr
# brctl addif ipbr eth0
# brctl addif ipbr usb0

# ifconfig eth0 up
# ifconfig eth0 0.0.0.0
# ifconfig usb0 up
# ifconfig usb0 0.0.0.0

# ifconfig ipv6 up

                          eth0            usb0
192.168.16.2
Box1<----------------> Linux bridge <----------------------> Box

Then I connet another device into the eth0 interface of bridge. Its ip
address is 192.168.16.1, the device on the othe end of usb lan is
192.168.16.2

When I ping 192.168.16.2 from 192.168.16.1. The tcpdump on bridge is
message of ARP "who has 192.168.16.2 tell 192.168.16.1", but I neve see
the ARP reply why?

Thanks
Best Regards


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-27 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24  2:46 [Bridge] How to bridge a eth0 and usb0 device Sun Zongjun-E5739C
2006-10-27 18:21 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.