Suse linux on Windows XP host - bridging problem
Posted: 31. Jan 2011, 19:36
I'm trying to set up networking between a Suse Linux guest running in a VirtuaBox on a WinXP host and an external box running an embedded Linux Os.
The embedded linux box is connected to WindowsXP box using an ethernet over USB connection.
In Suse Linux I setup a Host-only adapter connected to "VirtualBox Host-Only Ethernet Adapater".
I give the eth1 adapter the fixed IP adress 1921.168.1.5. The eth0 adapter is connected to VB NAT adapter that connects to the Internet and gets its address through dhcp.
# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:30:98:31
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00
fe30:9831/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4912 errors:0 dropped:0 overruns:0 frame:0
TX packets:1656 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4160402 (3.9 Mb) TX bytes:111836 (109.2 Kb)
eth1 Link encap:Ethernet HWaddr 08:00:27:88:FD:59
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00
fe88:fd59/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:46639 (45.5 Kb)
In Windows XP I make a bridge between VirtuaBox Host-Only Network and the Linux USB network adapters.
I assign the bridge the fixed address 192.168.1.20
In the embedded linux box I set the usb0 interface to the fixed address 192.168.1.10.
I can ping the WinXP host (192.168.1.20) from the embedded Linux box (192.168.2.10).
I can ping the embedded Linux box (192.168.2.10) from the WinXP host (192.168.1.20).
I can NOT ping the WinXP host (192.168.1.20) or the embedded Linux box (192.168.2.10) from the VirtualBox Linux guest (192.168.1.5).
I can NOT ping the the VirtualBox Linux guest (192.168.1.5) from either the WinXP host (192.168.1.20) or the embedded Linux box (192.168.2.10).
However if I change the fixed address of eth1 on the VirtualBox Linux guest to another network (192.168.0.5) I can ping both the WinXP host (192.168.1.20) and the embedded Linux box (192.168.2.10).
But I can NOT ping 192.168.0.5 from either the WinXP host (192.168.1.20) or the embedded Linux box (192.168.2.10).
I am trying to connect an NFS client on the embedded Linux box (192.168.2.10) to an NFS server on the Suse Linux Guest running in VirtualBox.
Anyone have any ideas as to why this isn't working?
Thanks in advance for the help.
Michel
The embedded linux box is connected to WindowsXP box using an ethernet over USB connection.
In Suse Linux I setup a Host-only adapter connected to "VirtualBox Host-Only Ethernet Adapater".
I give the eth1 adapter the fixed IP adress 1921.168.1.5. The eth0 adapter is connected to VB NAT adapter that connects to the Internet and gets its address through dhcp.
# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:30:98:31
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4912 errors:0 dropped:0 overruns:0 frame:0
TX packets:1656 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4160402 (3.9 Mb) TX bytes:111836 (109.2 Kb)
eth1 Link encap:Ethernet HWaddr 08:00:27:88:FD:59
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:46639 (45.5 Kb)
In Windows XP I make a bridge between VirtuaBox Host-Only Network and the Linux USB network adapters.
I assign the bridge the fixed address 192.168.1.20
In the embedded linux box I set the usb0 interface to the fixed address 192.168.1.10.
I can ping the WinXP host (192.168.1.20) from the embedded Linux box (192.168.2.10).
I can ping the embedded Linux box (192.168.2.10) from the WinXP host (192.168.1.20).
I can NOT ping the WinXP host (192.168.1.20) or the embedded Linux box (192.168.2.10) from the VirtualBox Linux guest (192.168.1.5).
I can NOT ping the the VirtualBox Linux guest (192.168.1.5) from either the WinXP host (192.168.1.20) or the embedded Linux box (192.168.2.10).
However if I change the fixed address of eth1 on the VirtualBox Linux guest to another network (192.168.0.5) I can ping both the WinXP host (192.168.1.20) and the embedded Linux box (192.168.2.10).
But I can NOT ping 192.168.0.5 from either the WinXP host (192.168.1.20) or the embedded Linux box (192.168.2.10).
I am trying to connect an NFS client on the embedded Linux box (192.168.2.10) to an NFS server on the Suse Linux Guest running in VirtualBox.
Anyone have any ideas as to why this isn't working?
Thanks in advance for the help.
Michel