Re: how to use external router?
On Sat, Dec 20, 2003 at 12:26:22PM -0400, Jeff Waltermire wrote:
> I have a cable modem and a D-Link 614+ router that work fine in SUSE
> and WinXP. I would like to use that on my Debian Box but how do I set
> up Debian to use my gateway of 192.168.0.1 (D-link router)? Where do
> I setup that my eth0 as being 192.168.0.6/255.255.255.0 on my LAN?
I recommend you use DHCP if possible, but otherwise the relevant lines
in /etc/network/interfaces are:
auto eth0
iface eth0 inet static
address 192.168.0.6
netmask 255.255.255.0
gateway 192.168.0.1
Then
# ifdown eth0; ifup eth0
Dhcp would be
auto eth0
iface eth0 inet dhcp
--
Jon Dowland
http://jon.dowland.name/
Reply to: