1
Networking / Re: [SOLVED] Networking not working In Virtual Box
« on: April 04, 2024, 04:43:11 pm »Do you have 2 network cards installed in the VM? Can you post your x:\mptn\bin\setup.cmd?I even have 4... First one I keep for NAT, the others for bridged mode - second one for docking station wired, third for laptop's wifi, fourth for laptop's internal wired. I swap second and fourth when I have wired ethernet on the go, without my docking station.
Contents of setup.cmd:
route -fh
arp -f
ifconfig lo 127.0.0.1
REM ifconfig lan0 nil metric 1 mtu 1500
REM ifconfig lan1 nil
REM ifconfig lan2 nil metric 1 mtu 1500
ifconfig lan3 192.168.1.200 netmask 255.255.255.0 metric 1 mtu 1500
REM ifconfig lan4 nil metric 1 mtu 1500
REM ifconfig lan5 metric 1 mtu 1500
REM ifconfig lan6 metric 1 mtu 1500
REM ifconfig lan7 metric 1 mtu 1500
dhcpstrt -i lan1
REM ifconfig sl0
ipgate off
You might want to add "-d 0" (without the quotes) at the end of the line with dhcpstrt. That parameter specifies the maximum time dhcpstrt waits for an IP address from the DHCP server. Specifying 0 (zero) makes it keep on trying in the background (so effectively no maximum wait period after which it gives up).
Code: [Select]
dhcpstrt -i lan1 -d 0
(note the space between d and zero)