Networking question
Posted: 2. Feb 2013, 15:45
Hi,
I have a router and on the lan some client pcs and a small linux box that acts as virtual box host (centos 6.3).
I'd like the host run dhcp and dns server for its guests, but the router's dhcp interferes with this (I am using bridged networking for guests, they use eth0 as well).
Is there a way I can filter the dhcp traffic on the host somehow with current setup (guests dhcp request only goes to centos host not outside of it)? Since everyone uses eth0 I am not sure...
Or do I need to change to nat networking?
In this case will guests be using an other nic on the host, that has an IP in 'their' subnet? If it is the case it would be neat since I would be able to use all kind of filtering using iptables, and maybe dhcp would also work using that 'internal' nic...
Will guests still be able to access internet, or clients on lan be able to access guests? (ssh, rdp, anything)
I looked at some configurations but some of the stuff I am trying doesn't work so I figured I could ask first, which is the right way to go so I insist researching that one...
thanks
I have a router and on the lan some client pcs and a small linux box that acts as virtual box host (centos 6.3).
I'd like the host run dhcp and dns server for its guests, but the router's dhcp interferes with this (I am using bridged networking for guests, they use eth0 as well).
Is there a way I can filter the dhcp traffic on the host somehow with current setup (guests dhcp request only goes to centos host not outside of it)? Since everyone uses eth0 I am not sure...
Or do I need to change to nat networking?
In this case will guests be using an other nic on the host, that has an IP in 'their' subnet? If it is the case it would be neat since I would be able to use all kind of filtering using iptables, and maybe dhcp would also work using that 'internal' nic...
Will guests still be able to access internet, or clients on lan be able to access guests? (ssh, rdp, anything)
I looked at some configurations but some of the stuff I am trying doesn't work so I figured I could ask first, which is the right way to go so I insist researching that one...
thanks