[ovs-discuss] "RTNETLINK answers: No such process" when using iproute2
Iman Darabi
iman.darabi at gmail.com
Thu Aug 14 13:26:14 UTC 2014
hi.
i have a server which is truncked and using these commands to set ip
address and vlans, so it works ok :
# ovs-vsctl add-br br0
# ovs-vsctl add-port br0 eth0
# ovs-vsctl add-br br_host br0 216
# ifconfig eth0 0
# ifconfig br0 0
# ifconfig br_host 172.20.26.28 up
# route add default gw 172.20.26.1
but when i use " ip " commands to setup networking, some error happens.
# ovs-vsctl add-br br0
# ovs-vsctl add-port br0 eth0
# ovs-vsctl add-br br_host br0 216
# ip link set dev eth0 up
# ip link set dev br0 up
# ip addr add <X.X.X.X> dev br_host
# ip link set dev br_host up
# ip route add default via <Y.Y.Y.Y>
RTNETLINK answers: No such process
am i missing sth when using ip?!
BTW : why "ip addr show" show status of bridge interfaces UNKNOWN ?
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN mode DEFAULT
link/ether f4:6d:04:64:38:4c brd ff:ff:ff:ff:ff:ff
4: br_host: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN mode DEFAULT
link/ether 26:89:15:04:41:67 brd ff:ff:ff:ff:ff:ff
thanks for your attention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140814/1719879f/attachment-0002.html>
More information about the discuss
mailing list