[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Network bridge problem



I'll start over again because I recently changed some commands, but still had the old ones in the last e-mail.

------------------------

I Followed this tutorial -> https://wiki.archlinux.org/index.php/Xen

The network bridge part was kind of vague, so I tried doing this:

[code]

ip link add name xenbr0 type bridge
ip link set xenbr0 up
ip link set enp3s0 promisc on
ip link set enp3s0 up
ip link set enp3s0 master xenbr0

[/code]

Resulting into this `ip addr` output:

[code]

: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc fq_codel master xenbr0 state UP group $
    link/ether d0:50:99:8f:1e:31 brd ff:ff:ff:ff:ff:ff
    inet 192.168.178.112/24 brd 192.168.178.255 scope global enp3s0
       valid_lft forever preferred_lft forever
inet6 2001:983:8610:1:31e2:78bb:7efd:4b4d/64 scope global mngtmpaddr noprefixroute dynamic
       valid_lft 3712sec preferred_lft 1943sec
    inet6 fe80::ebb8:6b64:34bf:49de/64 scope link
       valid_lft forever preferred_lft forever
3: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether d0:50:99:8f:1e:31 brd ff:ff:ff:ff:ff:ff
inet6 2001:983:8610:1:d250:99ff:fe8f:1e31/64 scope global mngtmpaddr dynamic
       valid_lft 3714sec preferred_lft 3512sec
    inet6 fe80::a426:3fff:fe2b:47f2/64 scope link
       valid_lft forever preferred_lft forever
4: vif2.0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master xenbr0 state UP group default $
    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

[/code]

After chatting on the #xen channel, I'm told that my network bridge is probably wrongly configured and that the correct result should have the `inet 192.168.178.112/24` line in the xenbr0 section.

Is this correct?

P.S. I have to type those `ip link` commands on every boot, is there a way to turn this into a service?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.