Page 1 of 1

Network Issue

Posted: 20. May 2008, 21:10
by beardo
Howdy,

I am green to all this so please be gentle.

I have gotten a virtualbox machine up and running and have created my 1st virtual machine with a bridged network connection.

All cool, well all cool if you are happy being in that small two machine network!

The Host machine is Fedora 9 and has a static (real) IP, I can ping and browse thw webserver of the guest machine which is obviously on the same net - just one ip up.

From the guest machine I can ping the host machine.

However from the guest machine I can do little else, can't get out beyond host. I disabled the firewall.... no joy.

Any suggestions?

TIA

Posted: 20. May 2008, 22:11
by beardo
Perhaps I did not explain so well.

From within the guest system (xxx.xxx.xxx.149) If I ping my router (xxx.xxx.xxx.150) I get the following which I guess means that my guest can see host (xxx.xxx.xxx.148):

Code: Select all

[root@vps1 ~]# ping xxx.xxx.xxx.150
PING xxx.xxx.xxx.150 (xxx.xxx.xxx..150) 56(84) bytes of data.
From xxx.xxx.xxx..148 icmp_seq=1 Destination Host Prohibited
From xxx.xxx.xxx..148 icmp_seq=2 Destination Host Prohibited
From xxx.xxx.xxx.148 icmp_seq=3 Destination Host Prohibited
The host machine (xxx.xxx.xxx.148) can see the router and internet beyond. For testing I have SE linux on host set to permissive and fedora firewall disabled on guest and host.....

Posted: 20. May 2008, 22:22
by beardo
Sorry, more info I should have put in earlier post.

Output of ifconfig -a

Code: Select all

br0       Link encap:Ethernet  HWaddr 00:13:20:47:8F:F1  
          inet addr:xxx.xxx.xxx.148  Bcast:xxx.xxx.xxx.151  Mask:255.255.255.248
          inet6 addr: fe80::213:20ff:fe47:8ff1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2635 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1866135 (1.7 MiB)  TX bytes:400419 (391.0 KiB)

eth0      Link encap:Ethernet  HWaddr 00:13:20:47:8F:F1  
          inet addr:xxx.xxx.xxx.148  Bcast:xxx.xxx.xxx.151  Mask:255.255.255.248
          inet6 addr: fe80::213:20ff:fe47:8ff1/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2085 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1776752 (1.6 MiB)  TX bytes:387829 (378.7 KiB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2164 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:108544 (106.0 KiB)  TX bytes:108544 (106.0 KiB)

pan0      Link encap:Ethernet  HWaddr 16:4B:AE:11:88:C1  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

tap0      Link encap:Ethernet  HWaddr 00:FF:B3:A6:91:76  
          inet6 addr: fe80::2ff:b3ff:fea6:9176/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:520 errors:0 dropped:0 overruns:0 frame:0
          TX packets:622 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:231394 (225.9 KiB)  TX bytes:55767 (54.4 KiB)
Is the content of /proc/net/route worth showing?

Posted: 22. May 2008, 22:20
by beardo
Sorry to bump this but no replies :(

Posted: 24. May 2008, 20:28
by KenJackson
Hey beardo, I'm having my own problems, but since no one else is answering I'll mention that I don't think eth0 should have an IP address.

What does this command show on the host?
netstat -nr

Mine shows three lines with far right column, "Iface", showing br0 for two of the three.