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

Re: Linux and Routing




Ugh.  Okay, that /42 below was supposed to a 24.  Anyway, here's what I
have so far:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
206.152.121.102 *               255.255.255.255 UH    0      0        0 eth0
208.169.40.0    *               255.255.255.240 U     0      0        0 eth1
206.152.121.0   *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         mtv-cs3640-1.mv 0.0.0.0         UG    0      0        0 eth0


That's my routing table.  I've routed 208.169.40.0/28 to eth1 (or so I
think).  I've assigned eth1 the address 208.169.40.1.  I have also plugged
an ethernet hub to eth1.  Into that hub, I've plugged in a machine that
has been given the address 208.169.40.2.  With the above routing table, I
can traceroute from outside our network to 208.169.40.1, and I can ping
it.  I can also ping 208.169.40.2 from the Linux box that I'm routing
with, and the 208.169.40.2 box can communicate with the Linux box, but, I
can't trace to it, nor can it ping the outside world.  So, I know that the
Linux box is not gatewaying the 208.169.40.0/28 network for some reason,
but I can't figure out why.  I've tried adding all sorts of routes, and
none seem to work.  Any ideas anyone?  

Thanks,

Koree

______________________________________________
Koree A. Smith  | Co-Administrator, ameth.org
koree@Ameth.org | http://www.koree.net/
koree@koree.net | Linux Rules!
NT < *IX        | I Corinthians 2:1-5

Nous pensons que Linux représente à terme une menace pour Windows.


On Wed, 5 Apr 2000, KoReE wrote:

> 
> Alrighty, this is what I'd like to do, and I'm about halfway there, but
> I've run into a snag.  I'm wanting to load a Linux box up with Ethernet
> cards, to separate out a new Ethernet segment, but not have to go through
> my Cisco router to do so.  So, here's what I've done.  I have two Ethernet
> cards in a Linux machine.  One card has been given an IP# on our main
> network - 206.152.121.0/42.  The second, has not yet been given an IP#,
> but, what I would like, is to give it an IP#, and then route a network of
> IPs to that address, and then have the Linux box route those addresses
> onto the new Ethernet segment.  Am I making any sense at all?  So, the
> outcome would be, I'd hook an Ethernet hub up to the card, and be able to
> plug devices into the hub and give them addresses on the routed network.
> Does anyone know what direction I need to look to do this?  I've tried
> routing a /28 network to the machine, then giving the second card an
> address on that network, and then routed that network to that card.  But,
> I can only access the machine itself through the card, and the other
> machines I put on the hub and give secondary addys to, can't get out, nor
> can I get into them.  I know this is probably horribly confusing...the way
> I've put this...but, I'm working totally theoretically here, anyway.  So,
> any pointers would be greatly appreciated.
> 
> Thanks,
> 
> Koree
> 
> ______________________________________________
> Koree A. Smith  | Co-Administrator, ameth.org
> koree@Ameth.org | http://www.koree.net/
> koree@koree.net | Linux Rules!
> NT < *IX        | I Corinthians 2:1-5
> 
> Nous pensons que Linux représente à terme une menace pour Windows.
> 
> 
> 
> --
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
> 


--
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.