Networking Forums

Networking Forums > Computer Networking > Linux Networking > Almost got it (routing)

Reply
Thread Tools Display Modes

Almost got it (routing)

 
 
Chris Rennert
Guest
Posts: n/a

 
      05-10-2005, 07:52 PM
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.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 192.168.1.200

Ok, from my PC on the 192.168.0.0/24 network , I can ping the router at
both interface (192.168.1.1, 192.168.0.1), from the router I can ping
the only pc in the 192.168.0.0/24 network (192.168.0.201). From the
192.168.1.0/24 network I can ping the router (192.168.1.1) on NIC #1 ,
but not on NIC #2 (192.168.0.1).

From the router I can ping any box on either network. I guess, looking
at my routing table, what am I missing so that I can send traffic back
and forth across both networks????

I really do appreciate anymore help any of you guys could give me.

Thanks again,

chris
 
Reply With Quote
 
 
 
 
Allen McIntosh
Guest
Posts: n/a

 
      05-10-2005, 11:23 PM
> 192.168.0.0 192.168.1.1 255.255.255.0 UG 0 0 0
> eth1

This entry says "send traffic for 192.168.0.0/24 to 192.168.1.1 (via eth1).
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0

This entry says "send traffic for 192.168.0.0/24 via eth0 (it's a direct
connection).

Which one is correct?
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      05-11-2005, 04:44 AM
Allen McIntosh <(E-Mail Removed)> writes:

>> 192.168.0.0 192.168.1.1 255.255.255.0 UG 0 0 0
>> eth1

>This entry says "send traffic for 192.168.0.0/24 to 192.168.1.1 (via eth1).
>> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
>> eth0

>This entry says "send traffic for 192.168.0.0/24 via eth0 (it's a direct
>connection).


>Which one is correct?


It depends on what your connections are. If all of the 192.168.0.x are on
the same ethernet wire as your computer, then the second. If not and if
192.168.1.1 knows how to get the packets to the right ethernet loop, then
the first is.

In the second case if say you want to send something to 192.168.0.23, your
system will put a broadcast message ( to 192.168.0.255) onto the ethernet
wire saying "who is 192.168.0.23". The computer whose address it is will
send back and say "192.168.0.23 is a0:13:22:35:f2 " (ie the mac address of
the ethernet card on that net whose IP is 192.168.0.23). You computer will
then post a direct ethernet packet to the MAC address a0:13:22:35:f2.

In the first case, your computer will do the same for the address
192.168.1.1 but the packet which is sent will contain the message "pls
forward this to 192.168.0.23"

 
Reply With Quote
 
bmgz
Guest
Posts: n/a

 
      05-11-2005, 11:01 AM
Chris Rennert wrote:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth1
> 192.168.0.0 192.168.1.1 255.255.255.0 UG 0 0 0



Im pretty sure this has something to do with your routing table, as you
probably already know..

Is your router connected to the internet? or are you just bridging two
subnets?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing routing in LAN-WAN routing mc Windows Networking 5 12-03-2008 03:22 PM
Win2003 R2 server just stops routing traffic until I restart Routing service Martijn Tonies Windows Networking 8 11-03-2008 11:05 AM
IP Routing ITCOM Windows Networking 1 07-30-2007 04:29 PM
I not find the NAT/Basic Firewall under Routing\IP Routing mtczx232@yahoo.com Windows Networking 2 12-16-2006 04:08 PM
routing between 2 nic ckwong19802003@yahoo.com Windows Networking 7 02-13-2006 01:43 PM



1 2 3 4 5 6 7 8 9 10 11