|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Yet another question about multiple NICs
Hi Felix,After so long fighting alone with this, it gives some comfort to have so quick an answer. Thanks. Felix Kuperjans a Ãcrit : just some questions: - Do you use a firewall in dom0 oder domU? No. Unless there is some default hidden firewall in the default installation of debian lenny :) - Are those two physical interfaces probably connected to the same physical network? No. I wrote: "each in a different LAN". This is what I meant. To connect both networks to one another, I would need a routing machine. - Can you post the outputs of the following commands in both dom0 and domU when your setup has just startet:
In dom0...
--
$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: peth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP qlen 1000
link/ether 00:14:4f:40:ca:74 brd ff:ff:ff:ff:ff:ff
inet6 fe80::214:4fff:fe40:ca74/64 scope link
valid_lft forever preferred_lft forever
3: peth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP qlen 100
link/ether 00:14:4f:40:ca:75 brd ff:ff:ff:ff:ff:ff
inet6 fe80::214:4fff:fe40:ca75/64 scope link
valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:14:4f:40:ca:76 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:14:4f:40:ca:77 brd ff:ff:ff:ff:ff:ff
6: vif0.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
7: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
8: vif0.1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
9: veth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
10: vif0.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
11: veth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
12: vif0.3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
13: veth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
14: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN
link/ether 00:14:4f:40:ca:74 brd ff:ff:ff:ff:ff:ff
inet 172.16.113.121/25 brd 172.16.113.127 scope global eth0
inet6 fe80::214:4fff:fe40:ca74/64 scope link
valid_lft forever preferred_lft forever
15: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN
link/ether 00:14:4f:40:ca:75 brd ff:ff:ff:ff:ff:ff
inet 192.168.24.123/25 brd 192.168.24.127 scope global eth1
inet6 fe80::214:4fff:fe40:ca75/64 scope link
valid_lft forever preferred_lft forever
16: vif1.0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcff:ffff:feff:ffff/64 scope link
valid_lft forever preferred_lft forever
17: vif1.1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 32
link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcff:ffff:feff:ffff/64 scope link
valid_lft forever preferred_lft forever
--
--
$ ip route show
172.16.113.0/25 dev eth0 proto kernel scope link src 172.16.113.121
192.168.24.0/25 dev eth1 proto kernel scope link src 192.168.24.123
default via 192.168.24.125 dev eth1
default via 172.16.113.126 dev eth0
I tried to remove the first 'default' route, with route del
default..., but nothing changed.
-- -- $ iptables -nvL Chain INPUT (policy ACCEPT 744 packets, 50919 bytes)pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 22 packets, 1188 bytes)pkts bytes target prot opt in out source destination 3 219 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vif1.0 Chain OUTPUT (policy ACCEPT 582 packets, 76139 bytes)pkts bytes target prot opt in out source destination
--
--
$ brctl show
bridge name bridge id STP enabled interfaces
eth0 8000.00144f40ca74 no peth0
vif1.0
eth1 8000.00144f40ca75 no peth1
vif1.1
--
In the dom1...
--
# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether 00:16:3e:55:af:c2 brd ff:ff:ff:ff:ff:ff
inet 172.16.113.81/25 brd 172.16.113.127 scope global eth0
inet6 fe80::216:3eff:fe55:afc2/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether 00:16:3e:55:af:c3 brd ff:ff:ff:ff:ff:ff
inet 192.168.24.81/25 brd 192.168.24.127 scope global eth1
inet6 fe80::216:3eff:fe55:afc3/64 scope link
valid_lft forever preferred_lft forever
--
--
# ip route show
172.16.113.0/25 dev eth0 proto kernel scope link src 172.16.113.81
192.168.24.0/25 dev eth1 proto kernel scope link src 192.168.24.81
--
--
# iptables -nvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination -- I could not see anything weird in these outputs. Can you ? - Is your bridge really named equally to your network interface (i.e. both eth0) or is the network interface renamed? Probably something got confused there (ip addr will show it anyway). In Xen 3.2.1, the network-bridge script renames eth<i> to peth<i>, bring it down and set a bridge with the name eth<i>. Regards, Philippe Am 17.12.2010 11:57, schrieb Philippe Combes: _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |