I have:
a router - with an internal IP address 192.168.1.1 and is connected to the Internet.
a Mac - has the IP address of 192.168.1.10. Internet works, of course.
a PC with FreeBSD 13 installed.
I have connected the FreeBSD PC to the Mac using an Ethernet crossover cable. I have assigned 192.168.1.20 to the Mac Ethernet service and 192.168.1.30 to the FreeBSD PC, and it works - both can ping to each other.
How do I configure the PC to "go out" to the Intenet?
I have tried several methods, like turning on macOS' Internet Sharing, and also like setting to a different address for the FreeBSD (172.16.1.20 for the Mac and 172.16.1.30) - none worked. What am I missing? Is there something wrong with my connection? Or I need to download/use NAT software?
a router - with an internal IP address 192.168.1.1 and is connected to the Internet.
a Mac - has the IP address of 192.168.1.10. Internet works, of course.
a PC with FreeBSD 13 installed.
I have connected the FreeBSD PC to the Mac using an Ethernet crossover cable. I have assigned 192.168.1.20 to the Mac Ethernet service and 192.168.1.30 to the FreeBSD PC, and it works - both can ping to each other.
How do I configure the PC to "go out" to the Intenet?
I have tried several methods, like turning on macOS' Internet Sharing, and also like setting to a different address for the FreeBSD (172.16.1.20 for the Mac and 172.16.1.30) - none worked. What am I missing? Is there something wrong with my connection? Or I need to download/use NAT software?