NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem with interfaces



Sounds like you need NAT, or actual routing beyond a simple default gateway.

On Mon, Feb 23, 2015 at 9:47 PM, Ezequiel Reyes Aragon <ezequiel%ecaribe.co.cu@localhost> wrote:
Hi list,
I have some NetBSD created in a virtual network with ip: 10.0.0.0/24 and most of them have 10.0.0.2 (another NetBSD virtual pc) defined as a gateway. This last pc as two interfaces declared, one with 10.0.0.2 for the internal network it is on, and one with the ip: 192.168.100.9 bridged to the real interface on the host machine. From this netbsd gateway I can ping any real machine in the 192.168.100.0/24 network, as well as any machine in the virtual network, but I can not ping real machines from any other NetBSD virtual pc that use it as their gateway. I used sysctl in the virtual gateway machine to set ip forwarding = 1.
Is there something else that needs to be done?
My intend is to have a virtual network with only netbsd pcs, using one of them as a gateway to the real world via an additional interface in bridge mode.
thanks



--
FT2(SS) Byron Grobe, USN
USS Providence (SSN-719)


Home | Main Index | Thread Index | Old Index