[Linux-Anyway] Re: Uh-oh -- what have I done?

  • From: Meph Istopheles <meph@xxxxxxxxxxxxxxxxxxx>
  • To: Linux-Anyway@xxxxxxxxxxxxx
  • Date: Sun, 16 Mar 2003 10:35:17 -0800 (PST)

  All this was nothing -- after hitting send, I realised that I'd 
hosed ~all~ my networking capability.  I figured out where my 
mistake was, but not ~what~ the correct entries should be.  In 
the end, I just removed all the settings I'd made & got back to 
just being able to ping either way, inside & outside, as well as 
ftp between the 'puters, but I can't get the W98 beyond the Linux 
box.

> >   Think I've really lost it now.  In trying to find ~some~
> > way to route between my private network & the net through my
> > Linux box, I'd mad some changes via linuxconf.  Now my table
> > looks really weird:

> > /sbin/route
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    
> > Use Iface
> > Rhiannon.Aeon-A Ra-Hoor.Aeon-AL 255.255.255.255 UGH   0      0        
> > 0 eth0

> > [Uh, if Riannon, 10.0.0.3, shows up at all, shouldn't it have 
> > 255.255.255.0?]

> No, what you have here is a host-route. All bits of the netmask are 1's,
> so the address is valid in full. This is not a route to a network, it's a
> route to a host. Look at mine:

> Your kernel routing table does look a bit funny... Could you
> please repost the output of route with the -n argument, and the
> ifconfig output for eth's as well? Would be a bit easier to
> read ;-)

  Sure:

/sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
10.0.0.3        10.0.0.1        255.255.255.255 UGH   0      0        
0 eth0
10.0.0.0        10.0.0.2        255.255.255.0   UG    0      0        
0 eth0
63.249.19.0     0.0.0.0         255.255.255.0   U     0      0        
0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        
0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        
0 lo
0.0.0.0         63.249.19.1     0.0.0.0         UG    0      0        
0 eth0

# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:4F:60:E4:5F  
          inet addr:63.249.19.72  Bcast:63.249.19.255  
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3053288 errors:0 dropped:0 overruns:0 
frame:0
          TX packets:3483744 errors:0 dropped:0 overruns:0 
carrier:2365
          collisions:74625 txqueuelen:100 
          RX bytes:2174866056 (2074.1 Mb)  TX bytes:2745016344 
(2617.8 Mb)
          Interrupt:10 Base address:0xdc00 

eth0:1    Link encap:Ethernet  HWaddr 00:C0:4F:60:E4:5F  
          inet addr:10.0.0.2  Bcast:10.255.255.255  
Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0xdc00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28056 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28056 errors:0 dropped:0 overruns:0 
carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2272902 (2.1 Mb)  TX bytes:2272902 (2.1 Mb)

> By the way, I'm trying to write a firewall script so I can
> ditch ipchains in favour of iptables (which would then probably
> do for you what it does for me), and I discovered that during
> my attempts to configure the kernel as lean as possible I
> excluded some important modules. Bugger. I recompiled it and
> found that it screwed up my bttv modules. I recompiled them as
> well, but it won't work. I remember that installing bttv needed
> a bit of hacking when I did it last time, but, that's all I can
> remember. The joys of Linux.

  Oops.  Wish I could help, but while I've heard mention of bttv 
modules, I've no idea what the do....

  Meph

-- 
  This login session: $13.76, but for you $11.88.
To unsubcribe send e-mail with the word unsubscribe in the body to:   
Linux-Anyway-Request@xxxxxxxxxxxxx?body=unsubscribe

Other related posts: