View previous topic :: View next topic |
Author |
Message |
dE_logics Advocate


Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Thu Oct 10, 2013 8:23 am Post subject: Network interface stops working on addition of a bridge. |
|
|
First, create a tap interface --
Code: | ip tuntap add mode tap veth |
Stop network manager
Code: | /etc/init.d/NetworkManager stop |
down all interfaces --
Code: | ifconfig eth1 down
ifconfigh veth down |
Add bridge --
Code: | brctl addbr eth1_veth |
Bridge eth1 and veth --
Code: | brctl addif eth1_veth eth1 veth |
run dhcpcd on eth1 --
Code: | dhcpcd[6316]: version 5.6.4 starting
dhcpcd[6316]: eth1: carrier lost
dhcpcd[6316]: eth1: carrier acquired
dhcpcd[6316]: eth1: sending IPv6 Router Solicitation
dhcpcd[6316]: eth1: sendmsg: Cannot assign requested address
dhcpcd[6316]: eth1: rebinding lease of 192.168.1.2
dhcpcd[6316]: eth1: sending IPv6 Router Solicitation
dhcpcd[6316]: eth1: broadcasting for a lease
dhcpcd[6316]: eth1: sending IPv6 Router Solicitation
dhcpcd[6316]: eth1: sending IPv6 Router Solicitation
dhcpcd[6316]: eth1: no IPv6 Routers available
dhcpcd[6316]: timed out
dhcpcd[6316]: allowing 8 seconds for IPv4LL timeout
dhcpcd[6316]: eth1: probing for an IPv4LL address
dhcpcd[6316]: eth1: checking for 169.254.229.90
dhcpcd[6316]: eth1: using IPv4LL address 169.254.229.90
dhcpcd[6316]: forked to background, child pid 6369 |
Note, 169.254.229.90 is unheard of in my LAN, so this's just a random IP address. The DHCP server (built in a route) is working fine for other node in the LAN.
Code: | ifconfig eth1_veth up |
does not help. Networkmanager fails to configure the interface for dhcp.
Forcing a valid IP does work, but the interface can't do any communication to anything.
The moment I delete the bridge eth1_veth, everything starts working. _________________ My blog |
|
Back to top |
|
 |
massimo Veteran


Joined: 22 Jun 2003 Posts: 1226
|
Posted: Thu Oct 10, 2013 10:19 am Post subject: |
|
|
Check out Modular Networking. Further eth1 and veth should be up when you bring the bridge's link up. Why do you run dhcpcd against eth1 and not the bridge interface? _________________ Hello 911? How are you? |
|
Back to top |
|
 |
dE_logics Advocate


Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Thu Oct 10, 2013 3:40 pm Post subject: |
|
|
massimo wrote: | Further eth1 and veth should be up when you bring the bridge's link up. Why do you run dhcpcd against eth1 and not the bridge interface? |
Woah! I didn't know that! Thanks! _________________ My blog |
|
Back to top |
|
 |
|