From what you've got, it looks like you have a DSL modem, router and one or more computers. Your router does the connection to the DSL modem (call that the "outside" side) and your Ethernet devices (your computer(s), network printer(s) and the like) connect to it (call that the "inside" side). When the modem connects to your ISP, it gets assigned an address, they start mumbling at each other and, via the router, your devices can then talk to the outside world (and to each other as a bonus). Basically, you don't much care what the outside address is -- unless you've got a fixed IP address from your ISP, that address will change when you shut the modem off and turn it back on.
On the inside, you have assigned a name to your devices (the name you give to your computer(s)); let's say you've called a computer, oh,
willie -- that's your host name. Let's also say that you're going to use a common domain name,
com (or
net or
info or
org). So the computer is known inside as
willie.com (that will be in
/etc/HOSTNAME). If, on the other hand, you have a registered name, you would use that (and you would set those values in the router -- if you don't have a registered name, don't put "willie" and "com" in the router's host name and domain name fields).
Now addresses. 192.168.x.x is assigned as "private" network addresses. Generally, you want to use 192.168.1.1 (not 192.168.0.1) as the address of the first router. The dot-1-dot-1 is the subnet and device number; subnet one, device one (if you add an additional router, you'd use dot-2-dot-1 for it; subnet two, device one).
It looks like you're using fixed addresses on the inside, so, for example, let's say you give old
willie a fixed address of 192.168.1.10 (and another system, say,
suzie, 192.168.1.20). Bear in mind that these addresses are only valid for your inside subnet -- the outside world does not and never will know these addresses.
Then, you'd go into
/etc/hosts and (if your setup utility didn't do it for you) make entries so all your devices can find each other conveniently; e.g.,
Code:
# For loopbacking.
127.0.0.1 localhost
192.168.1.10 willie.com willie
192.168.1.15 InkJet # a network printer
192.168.1.20 suzie.com suzie
And everybody can talk to each other by name instead of by address. And, remember, your inside names and addresses have absolutely nothing to do with the outside world (unless, that is, you have a registered name).
If you're using DHCP, well, things are a little different (you don't do fixed addresses in
/etc/hosts).
In either case, your system(s) need to know where and how to talk to your router, and that would be done in a configuration file, probably (but not always) named something like
inet1.conf. In that file there are settings for your fixed IP address (192.168.1.10 for
willie), netmask (255.255.255.0, usually), gateway (192.168.1.1); if you're using DHCP you won't have a fixed IP address for
willie, the router will set an address for you).
So, if you're using fixed IP for "willie.com"
Code:
host willie
domain com
gateway 192.168.1.1
name server 212.216.112.112
address 192.168.1.10
netmask 255.255.255.0
ought to do it.
The PPP part should be done in the router configuration screen (it connects to the ADSL modem, probably with PPPoE, not one of your systems).
Hope this helps more than hurts.