[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modem Gateway



Sweet Success! I am at last typing this message from my internal machine.
Very Large Grin.
Thanks 

Quoting Crispin Wellington <crispin@aeonline.net>:
> You can do all of this automatically at startup by editing the
> /etc/network/interfaces file. Make sure there is an entry like
> 
> iface eth0 inet static
>         address 192.168.0.1
>         netmask 255.255.255.0
>         network 192.168.0.0
>         broadcast 192.168.0.255
> 
> in your gateway. And an entry like
> 
> iface eth0 inet static
>         address 192.168.0.2
>         netmask 255.255.255.0
>         network 192.168.0.0
>         broadcast 192.168.0.255
>         gateway 192.168.0.1
> 
> in the same file on your internal machine. This will set up the
> interface IP numbers and the routes for those networks.

I entered the information in the area the file suggested, ( bottom )
then "shutdown -r now" and it did not start the network up. 
However thanks to your post and Geoff's I fired it up without a script.
 
> > What information would help troubleshoot this ?
> 
> A good way to trouble shoot is to run a sniffer. For eg, apt-get install
> iptraf on the gateway. Run this on the gateway and sniff the various
> interfaces as you ping, traceroute, whatever from the internal machine.

> > How would I set up the ip and port number to access the internet from the 
> > internal machine once I can ping the ip address of my virtual host's dns 
> > server? 
> 
> That iptables command will (should) set up masquerading of traffic going
> out your ppp link.

Yes it did. Still Grinning!

Now on with the firewall.



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: