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

Re: Home network with Debian



On Friday 29 December 2000 04:37 pm, JD Kitch wrote:
> On Fri, Dec 29, 2000 at 12:01:25AM -0600, will trillich wrote:
> > On Thu, Dec 28, 2000 at 10:35:33PM -0700, JD Kitch wrote:
> > > Is that the only file that needs to be changed?  How do I
> > > determine the IP, netmask, and gateway for eth1, and then for
> > > the internal machine?
> >
> > i use 192.168.*.* for mine. my public linux box is also
> > privately 192.168.1.1, which is what all the other boxes
> > around here refer to as their gateway or default route.
> > other machines are anything from 192.168.1.2 to 192.168.254.254
> > and anything else in between.
> >
> > 	# /etc/network/interfaces -- configuration file for ifup(8),
> > ifdown(8)
> >
> > 	# The loopback interface
> > 	iface lo inet loopback
> >
> > 	# my internal / private LAN section:
> > 	iface eth0 inet static
> > 		address 192.168.1.1
> > 		netmask 255.255.255.0
> > 		network 192.168.0.0
> > 		broadcast 192.168.1.255
> >
> > 	# the part the 'rest of the world' can see
> > 	iface eth1 inet static
> > 		address 208.33.90.85
> > 		netmask 255.255.255.0
> > 		network 208.33.90.0
> > 		broadcast 208.33.90.255
> > 		gateway 208.33.90.84
> > 		# the gateway there is actually my cablemodem!
>
> OK, this all helps.  I'm guessing I'll just pick an IP from that
> same block for the wife's machine.  Is that true, and if so will I
> point to my cable providers DNS server, or do I need to do
> something else internally?

Point to the gateway server.
e.g.
# more /etc/resolv.conf
search houston.rr.com rr.com
nameserver 192.168.0.1


Pascal Hos
-- 
paashaas@rice.edu



Reply to: