cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3247
Views
14
Helpful
26
Replies

routing between two lans

mseaman56
Level 1
Level 1

I have one lan connect using a Linksys wireless nat router, i also have a testing/learning network with 5 pc's, Cisco 3550 switch and 2600 router with 2 ethernet interfaces. Lan A (Linksys wireless) 192.168.1.0 | Lan B (testing/learning) 192.168.2.0. The 2600 router e/0 address 192.168.2.1 e/1 192.168.1.2. Linksys address 192.168.1.1

I want to beable to get out to the internet from the test/learning network. I have rip protocal enabled, network 192.168.1.0 and .2.0

I can ping both interfaces...but can not get out. I have been searching for some direction to no luck. If someone can maybe point me in the right direction I would appreciate it. Network Diagram is attached for a better understanding of my home/learning network

26 Replies 26

I made some improvement. I am able to route to my home network of 192.168.1.0. I am able to do a trace to both my home computers and I am able to remote into my linksys router, but I still am not able to get to the wan. Here is my 2600 config:

interface Ethernet0/0

ip address 192.168.2.1 255.255.255.0

ip nat inside

half-duplex

!

interface Ethernet0/1

ip address 192.168.1.2 255.255.255.0

ip nat outside

half-duplex

!

router rip

network 192.168.1.0

network 192.168.2.0

!

ip nat inside source list 10 pool training overload

no ip http server

no ip http secure-server

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.1.1

!

!

access-list 10 permit 192.168.2.0

I added a route to my 2.0 network in my linksys.

Here is also my linksys routing table.

Destination LAN IP Subnet Mask Gateway Hop Count Interface

192.168.2.0 255.255.255.0 192.168.1.2 0 LAN & Wireless

192.168.1.0 255.255.255.0 0.0.0.0 0 LAN & Wireless

68.x.x.0 255.255.240.0 0.0.0.0 0 WAN (Internet)

0.0.0.0 0.0.0.0 68.203.80.1 0 WAN (Internet)

I wouldn't have gotten this far with out your help and is greatly appreciated.

Any thoughts?

Late here will return tomorrow.

thanks,

Mark

Try this config and test.

no ip nat inside source list 10 pool training overload

ip nat inside source list 10 int e0/1 overload

Thanks for the instruction, unfortunatly no change. I am able to access the linksys web interface using 192.168.1.1 and 68.203.x.x which does not make any sense to me. that's my ip from the provider. I am still able to trace route to my home computers and from my home pc's to my training network. Again here is my 2600 config. Any thoughts?

nterface Ethernet0/0

ip address 192.168.2.1 255.255.255.0

ip nat inside

half-duplex

!

interface Ethernet0/1

ip address 192.168.1.2 255.255.255.0

ip nat outside

half-duplex

!

router rip

network 192.168.1.0

network 192.168.2.0

!

ip nat inside source list 10 interface Ethernet0/1 overload

no ip http server

no ip http secure-server

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.1.1

!

!

access-list 10 permit 192.168.2.0

Thanks,

Mark

If I am understanding you correct from a PC on the 192.168.2.0/24 (training) network you are able to ping 192.168.1.1 and your ISP's address (68.203.x.x) correct?

Yes I can ping from a pc on my 192.168.2.0/24 (training)network to 192.168.1.1 and the ip address of my cable modem 68.203.x.x. I can also login to my linksys via http using either 1.1 or 68.203.x.x:8080

thanks

Mark

I looked a little more and I think I understand now...if I use overload I am using Pat...so the nat pool is not needed.

Mark

Yes.

See my update above.

fangshucheng
Level 1
Level 1

You said:The 2600 router e/0 address 192.168.2.1 e/1 192.168.1.2, but the word document you uploaded shows me that e/0 address 192.168.1.2 e/1 192.168.2.1.

My guess is that you misconfig the 2600. Coud you check it and make sure?

thanks for pointing that out for me. the doc is wrong for those two interfaces. e/0 is 192.168.2.1 and e/1 is 192.168.1.2

thanks,

Mark

mseaman56
Level 1
Level 1

revised network diagram

Mark,

The NAT configuration on the 2600 would make it look like all traffic from the training network is coming from 192.168.1.2 from the Linksys router's perspective. If you were able to get to the Internet from the 192.168.1.0/24 network before then all traffic from the training network should be able to get to the Internet as well. If you aren't then there may be able a problem with the Linksys/Cable modem configuration. Another thing you might want to check is does your cable provider restrict access to only one host to have Internet access at any given time.

HTH

Sundar

Thanks Sundar for your reply. I was and I am able to access the Internet from the 192.168.1.0/24 network and yes more than one host can access, I have had 4 at a time do so. Could this be a dns issue? I have tried to ping the ISP's dns servers but time out from my 192.168.2.0/24 network. No problem with the .1.0/24 network. If this is the case then should I add an access list on the 2600 to permit and if so I am not sure which protocol to allow ie...all ip or just icmp, tcp ect..

Thanks,

Mark

Review Cisco Networking for a $25 gift card