Centos Host - bridge network problems
Posted: 5. May 2009, 15:58
Host - CentOS 4.7 kernel 2.6.9-78.0.17.EL
VirtualBox - 2.2.0 and 2.2.2
Guest - any linux distro
Guest network type - Bridged - DHCP
Absolutely not firewalls in place
ICMP works between host and guest.
Any tcp or udp communications between host and guest NEVER complete but show established via netstat.
Any tcp or udp communications from guest to other hosts work fine.
Any tcp or udp communications from host to other hosts work fine.
Example:
ssh from host to guest:
guest netstat shows port 22 connection from host.
Host IP - 192.168.1.102
Guest IP - 192.168.1.120
Below is a tcpdump running on guest during ssh session.
NOTE the random IP after the first few
****************************************************************
10:02:28.915940 IP 192.168.1.102.32780 > 192.168.1.120.22: S 59656406:59656406(0) win 5840 <mss 1460,sackOK,timestamp 2059306 0,nop,wscale 2>
10:02:28.916249 IP 192.168.1.120.22 > 192.168.1.102.32780: S 4263837235:4263837235(0) ack 59656407 win 5792 <mss 1460,sackOK,timestamp 603018 2059306,nop,wscale 2>
10:02:28.916733 IP 192.168.1.102.32780 > 192.168.1.120.22: . ack 1 win 1460 <nop,nop,timestamp 2059308 603018>
10:02:28.934278 IP 192.168.1.120.22 > 192.168.1.102.32780: P 1:24(23) ack 1 win 1448 <nop,nop,timestamp 603036 2059308>
10:02:28.943128 IP 192.168.1.102.32780 > 192.168.1.120.22: . ack 24 win 1460 <nop,nop,timestamp 2059329 603036>
10:02:28.975122 IP 192.168.1.102.32780 > 151.132.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2059365 603036>
10:02:29.177170 IP 192.168.1.102.32780 > 150.185.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2059568 603036>
10:02:29.581149 IP 192.168.1.102.32780 > 149.37.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2059972 603036>
10:02:30.389327 IP 192.168.1.102.32780 > 145.253.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2060780 603036>
10:02:32.004886 IP 192.168.1.102.32780 > 139.173.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2062396 603036>
10:02:35.233643 IP 192.168.1.102.32780 > 127.13.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2065628 603036>
10:02:40.040045 IP 192.168.1.120.22 > 192.168.1.102.32779: F 4153941713:4153941713(0) ack 4253298160 win 1448 <nop,nop,timestamp 614144 1950437>
10:02:40.041581 IP 192.168.1.102.32779 > 192.168.1.120.22: R 4253298160:4253298160(0) win 0
10:02:41.702275 IP 192.168.1.102.32780 > 101.205.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2072092 603036>
10:02:54.625621 IP 192.168.1.102.32780 > 51.77.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2085020 603036>
10:03:19.237590 IP 192.168.1.102.32780 > 43.210.1.120.22: FP 59656429:59657069(640) ack 4263837259 win 1460 <nop,nop,timestamp 2109631 603036>
10:03:20.477655 IP 192.168.1.102.32780 > 58.223.1.120.22: FP 59656407:59657069(662) ack 4263837259 win 1460 <nop,nop,timestamp 2110876 603036>
VirtualBox - 2.2.0 and 2.2.2
Guest - any linux distro
Guest network type - Bridged - DHCP
Absolutely not firewalls in place
ICMP works between host and guest.
Any tcp or udp communications between host and guest NEVER complete but show established via netstat.
Any tcp or udp communications from guest to other hosts work fine.
Any tcp or udp communications from host to other hosts work fine.
Example:
ssh from host to guest:
guest netstat shows port 22 connection from host.
Host IP - 192.168.1.102
Guest IP - 192.168.1.120
Below is a tcpdump running on guest during ssh session.
NOTE the random IP after the first few
****************************************************************
10:02:28.915940 IP 192.168.1.102.32780 > 192.168.1.120.22: S 59656406:59656406(0) win 5840 <mss 1460,sackOK,timestamp 2059306 0,nop,wscale 2>
10:02:28.916249 IP 192.168.1.120.22 > 192.168.1.102.32780: S 4263837235:4263837235(0) ack 59656407 win 5792 <mss 1460,sackOK,timestamp 603018 2059306,nop,wscale 2>
10:02:28.916733 IP 192.168.1.102.32780 > 192.168.1.120.22: . ack 1 win 1460 <nop,nop,timestamp 2059308 603018>
10:02:28.934278 IP 192.168.1.120.22 > 192.168.1.102.32780: P 1:24(23) ack 1 win 1448 <nop,nop,timestamp 603036 2059308>
10:02:28.943128 IP 192.168.1.102.32780 > 192.168.1.120.22: . ack 24 win 1460 <nop,nop,timestamp 2059329 603036>
10:02:28.975122 IP 192.168.1.102.32780 > 151.132.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2059365 603036>
10:02:29.177170 IP 192.168.1.102.32780 > 150.185.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2059568 603036>
10:02:29.581149 IP 192.168.1.102.32780 > 149.37.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2059972 603036>
10:02:30.389327 IP 192.168.1.102.32780 > 145.253.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2060780 603036>
10:02:32.004886 IP 192.168.1.102.32780 > 139.173.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2062396 603036>
10:02:35.233643 IP 192.168.1.102.32780 > 127.13.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2065628 603036>
10:02:40.040045 IP 192.168.1.120.22 > 192.168.1.102.32779: F 4153941713:4153941713(0) ack 4253298160 win 1448 <nop,nop,timestamp 614144 1950437>
10:02:40.041581 IP 192.168.1.102.32779 > 192.168.1.120.22: R 4253298160:4253298160(0) win 0
10:02:41.702275 IP 192.168.1.102.32780 > 101.205.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2072092 603036>
10:02:54.625621 IP 192.168.1.102.32780 > 51.77.1.120.22: P 59656407:59656429(22) ack 4263837259 win 1460 <nop,nop,timestamp 2085020 603036>
10:03:19.237590 IP 192.168.1.102.32780 > 43.210.1.120.22: FP 59656429:59657069(640) ack 4263837259 win 1460 <nop,nop,timestamp 2109631 603036>
10:03:20.477655 IP 192.168.1.102.32780 > 58.223.1.120.22: FP 59656407:59657069(662) ack 4263837259 win 1460 <nop,nop,timestamp 2110876 603036>