Re: Configuring Networking - Newbie - add'l info
On Fri, May 18, 2001 at 02:49:26PM -0400, Bob Underwood wrote:
> this is my first time writing to the list, so i left out info in my newbieness
*it happens. :)
> this is a new install, barebones 2.2r2 from cd (cheapbytes) with dist-upgrade
> to the current stable dist, and security updates.
>
> ip masquerading is enabled in the kernel and ipmasq is installed with the
> default scripts. any help appreciated.
that's about exactly my setup, and all is hunky/dory here. hmm.
> On Fri, 18 May 2001, mgk wrote:
> > I've seen this discussed previously, can't find the solution though.
> >
> > The external connection works fine, I can't access the local network from my
> > gateway box though.
> >
> > The routing table looks like this:
> >
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > xx.xx.xxx.x 0.0.0.0 255.255.255.128 U 0 0 0 eth0
> > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> > 0.0.0.0 65.14.207.1 0.0.0.0 UG 0 0 0 eth0
mine:
Destination Gateway Genmask Flags Metric Ref Use Iface
208.33.90.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 208.33.90.84 0.0.0.0 UG 0 0 0 eth1
> > /etc/network/interfaces
> >
> > (parenthethical material omitted)
> > iface lo inet loopback
> >
> > iface eth0 inet static
> > hostname cxxxxxxx-x
> > address xx.xx.xxx.xx
> > netmask 255.255.255.128
> > network 65.14.207.0
> > broadcast 65.14.207.127
> > gateway 65.14.207.1
> >
> > iface eth1 inet static
> > hostname mammyyokum
> > address 192.168.1.3
> > netmask 255.255.255.0
> > network192.168.1.0
> > broadcast 192.168.1.255
> > up /sbin/ifconfig eth1 promisc
mine:
iface lo inet loopback
iface eth0 inet static
address 192.168.1.1
netmask 255.255.0.0
network 192.168.1.0
broadcast 192.168.1.255
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
> > /etc/resolv.conf is:
> >
> > search hmpt1.va.home.com
> > nameserver xx.xx.xx.xx
> > nameserver xx.xx.xx.xx
mine:
nameserver 127.0.0.1
search serensoft.com
nameserver 208.33.88.5
nameserver 206.228.179.10
> > /etc/hosts
> >
> > 127.0.0.1 localhost
> > 192.168.1.3 mammyyokum.siliconhollow.org mammyyokum
> > 192.168.1.4 pappyyokum.siliconhollow.org pappyyokum
> > 492.168.1.5 crunchwolf.siliconhollow.org crunchwolf
mine:
127.0.0.1 localhost
208.33.90.85 server.serensoft.com
192.168.1.1 linus
192.168.1.2 duo
192.168.1.100 wdt
192.168.1.101 jr
192.168.1.200 kat
> > /etc/networks
> > localnet 65.14.207.0
i ain't got one of them thar. :)
> > i can ping mammyyokum, both by name and by ip; i can ping localhost, i cannot
> > ping either pappyyokum or crunchwolf by name or number.
> >
> > any help would be appreciated. thanks
ifconfig shows me
eth0 Link encap:Ethernet HWaddr 00:60:8C:82:C4:59
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.0.0
inet6 addr: fe80::60:8c82:c459/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9031416 errors:381 dropped:0 overruns:422 frame:381
TX packets:7409474 errors:0 dropped:0 overruns:0 carrier:17
collisions:5885 txqueuelen:100
Interrupt:10 Base address:0x300
eth1 Link encap:Ethernet HWaddr 00:60:97:1E:67:FD
inet addr:208.33.90.85 Bcast:208.33.90.255 Mask:255.255.255.0
inet6 addr: fe80::60:971e:67fd/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8498177 errors:210 dropped:0 overruns:250 frame:210
TX packets:8806081 errors:0 dropped:0 overruns:0 carrier:0
collisions:14928 txqueuelen:100
Interrupt:11 Base address:0x340
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:2149717 errors:0 dropped:0 overruns:0 frame:0
TX packets:2149717 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
and it shouldn't hurt to re-run "ipmasq -v" to be sure...
can you ping from any other computers to your debian machine?
are you sure the cables are correctly connected (if you did
your own pinouts, make sure you know what's what)?
maybe netstat can help you figure this out...?
(i'm just guessing. can you tell?)
--
DEBIAN NEWBIE TIP #33 from Brian Potkin <brian@copernicus.demon.co.uk>
:
Looking for some good DPKG AND APT TIPS?
You'll find a very good introduction at
http://www.spack.org/geek/apt-help.html
It is, of course, based on the man pages for apt-get and
dpkg so you will want to read them as well.
Also see http://newbieDoc.sourceForge.net/ ...
Reply to: