Quote:
Originally Posted by David1357
If you have an interface with that subnet already on it, you do not need the "route" command. All traffic for that subnet should go through virbr0.
What is the output if "ifconfig -a"?
|
eth0 Link encap:Ethernet HWaddr 00:21:97:8E:7B:CB
inet addr:192.168.1.31 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:97ff:fe8e:7bcb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:433 errors:0 dropped:0 overruns:0 frame:0
TX packets:343 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:173113 (169.0 KiB) TX bytes:73363 (71.6 KiB)
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:3922 errors:0 dropped:0 overruns:0 frame:0
TX packets:3922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:196260 (191.6 KiB) TX bytes:196260 (191.6 KiB)
pan0 Link encap:Ethernet HWaddr 8E:8F:AF:23:A1:3C
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)
virbr0 Link encap:Ethernet HWaddr 5E:7B:40:91:B9:11
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::30cf:a6ff:fedb:27f7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2272 (2.2 KiB) TX bytes:5802 (5.6 KiB)
vnet0 Link encap:Ethernet HWaddr 5E:7B:40:91:B9:11
inet6 addr: fe80::5c7b:40ff:fe91:b911/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:2564 (2.5 KiB) TX bytes:2561 (2.5 KiB)
Then, from within the windows VM guest, here is the IPCONFIG:
Windows IP Configuration
Host Name . . . . . . . . . . . . : WinXP123
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : My NIC Description
Physical Address. . . . . . . . . : 00-16-3E-21-15-0C
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.122.181
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.122.1
DHCP Server . . . . . . . . . . . : 192.168.122.1
DNS Servers . . . . . . . . . . . : 192.168.122.1
Lease Obtained. . . . . . . . . . : Wednesday, December 10, 2008 3:43:37
PM
Lease Expires . . . . . . . . . . : Wednesday, December 10, 2008 4:43:37
PM