31
Applications / Re: VirtualBox 5.0.51 networking
« on: February 05, 2021, 08:02:50 am »
Hi Ivan,
In your x:\mptn\bin\setup.cmd file (you can do it from the TCP/IP setup panel but I havent used that for decades),
Add an alias for your other network, you will also have to add routing for the extra network.
The extra lines are:-
ifconfig lan0 192.168.1.10 alias
and
route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255
Adjust 192.168.1.10 and the route 192.168.1.0 to 192.168.1.1 to your preference.
type route at a command prompt to show the help information.
Not sure if this will help going through the VBox interface but I see no reason for VBOX to clobber extra nets.
In your x:\mptn\bin\setup.cmd file (you can do it from the TCP/IP setup panel but I havent used that for decades),
Add an alias for your other network, you will also have to add routing for the extra network.
Quote
ifconfig lan0 10.0.0.10 netmask 255.255.255.0 (any options you might be using go here)
ifconfig lan0 192.168.1.10 alias
route add default 10.0.0.1 -netmask 255.255.255.255
route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255
The extra lines are:-
ifconfig lan0 192.168.1.10 alias
and
route add -net 192.168.1.0 192.168.1.1 -netmask 255.255.255.255
Adjust 192.168.1.10 and the route 192.168.1.0 to 192.168.1.1 to your preference.
type route at a command prompt to show the help information.
Not sure if this will help going through the VBox interface but I see no reason for VBOX to clobber extra nets.