The network admin told me that I should geet ONE IP from the DHCP, so, i can't use NAT for the guest OS, if I do so, my Host and Guest OS will have different IP gotten from the DHCP.
My question is: how can I add a "local static ip" for my Guest OS, for ex: 192.168.10.10 added to a tap0, and then communicate with my real eth0 (that obtains the ip from the dhcp)
The config in my /etc/network/interfaces is the next:
Code: Select all
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
Now, at this point, I was trying with the next:
Code: Select all
sudo tunctl -t tap0 -u utamayo
sudo chmod 666 /dev/net/tun
sudo /usr/sbin/brctl addif br0 tap0
sudo ifconfig tap0 192.168.0.94 up
sudo bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp'
sudo route add -host 10.10.1.16 dev tap0
sudo arp -Ds 10.10.1.16 eth0 pub
Regards[/code]