OpenVZ Forum


Home » General » Support » Problem with DHCP supplied address with bridging
Re: Problem with DHCP supplied address with bridging [message #34930 is a reply to message #34917] Thu, 12 February 2009 13:55 Go to previous messageGo to previous message
mwolfe is currently offline  mwolfe
Messages: 4
Registered: February 2009
Location: Raleigh, NC
Junior Member
yes, i tried inside the VE

dhclient eth0

it cannot get an address...

looking at another thread it did:

# brctl addbr br0
# brctl addif br0 eth0
# vzctl set $VEID --netif_add eth0 --save
# brctl addif br0 veth$VEID.0
# ifconfig eth0 0
# ifconfig veth$VEID.0 0
# echo 1 > /proc/sys/net/ipv4/conf/veth$VEID.0/forwarding
# echo 1 > /proc/sys/net/ipv4/conf/veth$VEID.0/proxy_arp
# echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
# ifconfig br0 0
# echo 1 > /proc/sys/net/ipv4/conf/br0/forwarding
# echo 1 > /proc/sys/net/ipv4/conf/br0/proxy_arp
# dhclient br0

inside VE

dhclient eth0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: disk inodes not saving, full
Next Topic: apt-get can't find fzakernel-2.6.18-686-bigmem
Goto Forum:
  


Current Time: Thu Jul 17 16:30:36 GMT 2025

Total time taken to generate the page: 0.04426 seconds