cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
249
Views
0
Helpful
1
Replies

Routing Question

bijan.kianifard
Level 1
Level 1

Hi,

I have 2 routers.

R1 has a Gigabit interface with 2 IP addresses 192.168.100.1 and 192.168.101.1 and a Fastethernet interface with IP address of 192.168.102.4

R2 has an Fastethernet interface with IP address of 192.168.102.3 and a serial interface that is connected to internet.

R1 and R2 are connected through their fa interfaces.

I want to route traffic destined to internet from networks 192.168.100.0 and 192.168.101.0.

I have created a default route on R1 as follows:

ip default-network 192.168.102.0

What else must I do ?

Do I have to create routes on R2 or do something else?

Regards

1 Reply 1

Harold Ritter
Level 12
Level 12

ip default-network is not a default route.

Try

R1:

ip route 0.0.0.0 0.0.0.0 192.168.102.3

and

R2:

ip route 192.168.100.0 255.255.255.0 192.168.102.4

ip route 192.168.101.0 255.255.255.0 192.168.102.4

ip route 0.0.0.0 0.0.0.0 se0/0 (or whaterver the serial interface is).

Also, you should have NAT configured on R2 if you want these subnets to access the Internet.

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Review Cisco Networking for a $25 gift card