Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wybnormal, thanks, and another question for you 1

Status
Not open for further replies.

rkmorrow

MIS
Jan 12, 2001
98
US
Wybnormal,
Thank you for your response, I have seen your posts here and you are experienced and want to help everyone if you can. That is decent.
If you have seen my posts, you have probably laughed, because I am very new to router configuation and am driving everyone nuts with my stupid questions.
Having said that, I have another maybe obvious question:
Why, when I see a configuration of an ethernet and serial port on the same router,(not always, but sometimes)I will see:
Ethernet0 10.66.34.10 255.255.255.0
Serial0 10.65.1.1 255.255.255.0
Now, my understanding is that the interfaces(serial AND ethernet)have to be on the same SUBNET for them to see each other.
Is this true, and how could the above example work when they are clearly on the different networks according to their masks.
If you know of where I can find any information that could help I would appreciate it.
Thanks,
rkmorrow
 
THanks for the kind words :)

To answer your 2nd question, can we spell "router"? ...what happens is the router will automaticly route between directly connection interfaces no matter what the subnet is on either interface. You can turn this off if want to make the router into a bridge but that is pretty self defeating.

For example, I have on a test set the following interfaces..

E0 is 192.168.50.1 and the S0 is 172.24.19.1

Two subnets right? but the router sees BOTH as directly connected if you do a SHOW IP ROUTE command. It *knows* to route between the two interfaces.

------- 2nd part not in the first edition of this answer ---------

nemesis#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR

Gateway of last resort is 63.195.192.254 to network 0.0.0.0

153.1.0.0/24 is subnetted, 1 subnets
C 153.1.1.0 is directly connected, Loopback0
63.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 63.195.192.0/24 is directly connected, Ethernet1
S 63.241.16.17/32 is directly connected, Null0
S 63.241.16.9/32 is directly connected, Null0
C 192.1.1.0/24 is directly connected, Ethernet0
C 192.168.50.0/24 is directly connected, Ethernet0
;this is a secondary IP interface
S* 0.0.0.0/0 [1/0] via 63.195.192.254

Mike S
"Diplomacy; the art of saying 'nice doggie' till you can find a rock" Wynn Catlin
 
The point of the router is to get the packets between those two networks. Interfaces don't have to have the same network on a router. ...............................
Thanks, Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top