I have two interfaces on my machine, eth0 and eth1.
I created two OVS bridges, vmbr0 and vmbr1.
vmbr0 has an intport with my local ip for management (10.0.0.21)
vmbr1 has no intports, and no ip address configured.
Likewise, the physical interfaces have no ip addresses defined.
However, vmbr1, which is connected to a network where dhcp is served, receives an ip address, as does the eth1 interface.
So, I redid my network config as displayed below, and for the time being, disabled vmbr1 and eth1 connections (to simplify troubleshooting)
It turns out vmbr0 and eth0 are ALSO getting extra dhcp assignments.
What is causing this? It seems like the inet manual option is being ignored.
/etc/network/interfaces
ip addr
As you can see, intpt is getting the static IP I set (10.0.0.21), but it's also picking up another IP via dhcp (10.0.0.202).
You can also see vmbr0 itself, despite being set to inet manual (no ip), is getting an IP assigned (10.0.0.129).
Configuration was done all via gui. The only thing that has an IP set is intpt. Everything else should NOT be getting an IP.
I created two OVS bridges, vmbr0 and vmbr1.
vmbr0 has an intport with my local ip for management (10.0.0.21)
vmbr1 has no intports, and no ip address configured.
Likewise, the physical interfaces have no ip addresses defined.
However, vmbr1, which is connected to a network where dhcp is served, receives an ip address, as does the eth1 interface.
So, I redid my network config as displayed below, and for the time being, disabled vmbr1 and eth1 connections (to simplify troubleshooting)
It turns out vmbr0 and eth0 are ALSO getting extra dhcp assignments.
What is causing this? It seems like the inet manual option is being ignored.
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
allow-vmbr0 eth0
iface eth0 inet manual
ovs_type OVSPort
ovs_bridge vmbr0
allow-vmbr1 eth1
iface eth1 inet manual
ovs_type OVSPort
ovs_bridge vmbr1
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports eth0 intpt
allow-vmbr0 intpt
iface intpt inet static
address 10.0.0.21
netmask 255.255.255.0
ovs_type OVSIntPort
ovs_bridge vmbr0
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports eth1
ip addr
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
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: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether [DELETED] brd ff:ff:ff:ff:ff:ff
inet 169.254.84.21/16 brd 169.254.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::6ef0:49ff:fee6:26af/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether [DELETED] brd ff:ff:ff:ff:ff:ff
4: ovs-system: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1
link/ether [DELETED] brd ff:ff:ff:ff:ff:ff
inet 169.254.186.129/16 brd 169.254.255.255 scope global ovs-system
valid_lft forever preferred_lft forever
inet6 fe80::49c:74ff:fe8d:9df0/64 scope link
valid_lft forever preferred_lft forever
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1
link/ether [DELETED] brd ff:ff:ff:ff:ff:ff
inet 10.0.0.129/24 brd 10.0.0.255 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::6ef0:49ff:fee6:26af/64 scope link
valid_lft forever preferred_lft forever
6: intpt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1
link/ether4 [DELETED] brd ff:ff:ff:ff:ff:ff
inet 10.0.0.21/24 brd 10.0.0.255 scope global intpt
valid_lft forever preferred_lft forever
inet 10.0.0.202/24 brd 10.0.0.255 scope global secondary intpt
valid_lft forever preferred_lft forever
inet6 fe80::4cb7:4aff:fe42:80f2/64 scope link
valid_lft forever preferred_lft forever
As you can see, intpt is getting the static IP I set (10.0.0.21), but it's also picking up another IP via dhcp (10.0.0.202).
You can also see vmbr0 itself, despite being set to inet manual (no ip), is getting an IP assigned (10.0.0.129).
Configuration was done all via gui. The only thing that has an IP set is intpt. Everything else should NOT be getting an IP.
Last edited: