@stf92
I know that this thread is marked as solved but I have the impression that some
concepts are not clear enough.
I assume you've already understood that the dynamic IP provided by your ISP is
the external IP. What you are configuring is your LAN.
Router web interfaces are a bit confusing. You should not disable dhcp in your
router. Just do not use it (client) in your machines. Your router will use
dhcp client to connect to your ISP and dhcp server to assign IPs to your LAN
machines. Perhaps it will let you pre define some "static leases" where you
associate the MAC address of each network interface with a static IP (mine let
me add the host name of each machine too).
Take in care that routers generally ask you to define a "range" of ips to
assign, so if that range is 192.168.0.100 - 192.168.0.200 and you put
192.168.0.2 in rc.inet1.conf it will not work (probably what happened to
you).
What you showed on your first post for rc.inet1.conf is OK (unless 192.168.0.2
is not in the router's pre defined range like I've explained above).
You can add to
/etc/resolv.conf:
Code:
search local
nameserver 192.168.0.1
to ask names to your router or:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
if you want your machine uses google's. Should work in both cases.
You can add to
/etc/hosts in both machines (I have a
linux embeded in my router so I ssh access it and edit /etc/hosts with the same
values).
Code:
127.0.0.1 localhost
192.168.0.1 routername.local routername
192.168.0.100 machine1.local machine1
192.168.0.101 machine2.local machine2
Your router configuration is what you should investigate first.
-