[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Server with 2 NICs. DomU as Router
I have it working with this setup: eth0 connected to WAN eth1 connected to LAN domU running as router and devices connected to the server on eth1 I am able to NAT, route packets etc on domU for devices connected to eth1 and internet/IP works. Now I am trying to connect dom0 to domU also as client. I would like dom0 traffic also forwarded domU. Running `brctl show` on dom0 shows this: bridge name bridge id STP enabled interfaces xenbr0 8000.xxxxxxxxxxxxx no vif0 eth0 xenbr1 8000.xxxxxxxxxxxxx no vif1 eth1 Since I would like dom0 also another client on domU, I thought creating vlan on dom0 attached to eth1 and gateway as the router on domU would help. Like so: auto eth1.100 iface eth1.100 inet static vlan-raw-device eth1 address 10.20.0.15 netmask 255.255.255.0 gateway 10.20.0.1 I also bridge eth1.100 to xenbr1 just like eth1: auto xenbr1 iface xenbr1 inet manual bridge_ports eth1 eth1.100 Now when I run `brctl show`, I get eth1.100 just as a another interface bridged to xenbr1: bridge name bridge id STP enabled interfaces xenbr0 8000.xxxxxxxxxxxxx no vif0 eth0 xenbr1 8000.xxxxxxxxxxxxx no vif1 eth1 eth1.100 Also running ip route shows eth1.100 as the default interafce for dom0, but when I try to ping 10.20.0.1(router on domU) or try to ping the outside world by pining 8.8.8.8, I just get timeouts and host unreachable. How do I setup dom0 as a client to domU just as another interface on xenbr1, the bridge, so I can route traffic from domU? On Sun, Apr 24, 2016 at 5:31 PM, Adam Goryachev <mailinglists@xxxxxxxxxxxxxxxxxxxxxx> wrote:
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |