Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

how to get vm's in a subnet? (old linux config included)

$
0
0

Hey everyone,

i migrate from a linux vbox several machines to esxi and now i want the same network configuration as before for the vm's but dont know how to do it on vsphere/esxi 5.1

i think its much more easy than on linux with virtualbox

 

my old configuration looks like this:

/etc/network/interfaces

# This device is used to attach the virtual machines in bridged mode

auto tun0

iface tun0 inet manual

     pre-up modprobe tun && ip tuntap add mode tap user vbox group vboxusers name tun0 && ifconfig tun0 up

     post-down ip tuntap del mode tap name tun0

 

 

# This device makes the local machine accessable to the virtual machines.

# On it the DHCP server and the routing do their work.

auto br0

iface br0 inet static

     address 192.168.124.1

     netmask 255.255.255.0

#    bridge_ports tun0 tun1 tun2

     bridge_ports tun0

iface br0 inet6 static

     address fd1c:3c0f:fee0:4711::1

     netmask 64

---------------------------------------------------------------------------------------------------------------------

in /etc/radvd.conf  i made the followin entrys so that the vms know the local network:

interface br0

{

   AdvSendAdvert on;

   prefix fd1c:3c0f:fee0:4711::/64

   {

   };

};

-----------------------------------------------------------------------------------------------------------------------

then i made in /etc/sysctl.conf

net.ipv6.conf.all.forwarding=1

----------------------------------------------------------------------------------------------------------------------

i used DNSMASQ as an name and dhcp server make a correct iptables route and make it for everyone accessable trough dns in our main network......



So please give me a step by step or tutorial how i can manage this on esxi?! i think to complicated and can obviously with much more ease done with esxi i think


every help or ideas are very welcome because its a productive plattform



thank you esxi pros!





Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>