Link to home
Start Free TrialLog in
Avatar of hulanet
hulanet

asked on

Cisco 2621 router setup. Route between 2 FastEthernet ports

Hi, need your help, I have Cisco router 2621 with 2 FashEthernet ports, Trying to set it up so it would route between those 2 FEports different subnet IP's , Say on FE0/0 10.x.x.x on FE 0/1 192.x.x.x

examlple screept:
en:
conf t
int f 0/0
ad ip 10.1.10.1 255.255.255.0
no shut
exit
int f 0/1
ad ip 192.168.240.2 255.255.255.0
no shut
exit
ip route
route 0.0.0.0 0.0.0.0 192.168.240.1 ( this is my firewall or next router)

Simply not working, I can ping my 10.1.10.1 from comp, interm ping 192.168.240.2 and never 192.168.240.1 but from other side I connect comp with IP 192.168.240.1 and can ping back 192.168.240.2 but not further. Tried enable different router protocol still not working, some other person told me that I have to create VLAN for each FE port and then route those VLAN, but I couldnt find how to do it and not sure if this is correct . Please help, not sure what am I doing wrong, if possible post script sample.
Thank you.
Avatar of hulanet
hulanet

ASKER

I start reading more here, all saying about NAT, why should I set up NAT and how? and if I have to at all?
Avatar of Les Moore
Your firewall also needs a route back to the 10.1.10.0 subnet...
Your router is fine. You don't need NAT or anything else.
Your PCs need to have the router's IP address set as their default gateway, not the firewall (as you probably have it now)
 
Avatar of hulanet

ASKER

yes my PChave router IP 10.1.10.1 as gateway, but I cant browse the internet still, and as I posted above if insted of firewal I put PCso I could simply ping this IP 192.168.240.1 it wont work.  I understand that I should be able to ping this IP if router working and routing.
Add a static route on the PCs that tells them 192.168.240.1 is their gateway for the 10.x network and visa versa.  Leave their 0.0.0.0 gateway as the firewall.  Since the private addresses are more specific it will always route traffic destined for the opposite LAN to the router instead of the FW.

just add from the global config:

ip router eigrp
network 192.168.240.0
network 10.1.10.0
Adding dynamic routing does no good at all unless there are neigboring routers that participate using the same routing protocol.

The two networks are connected to the router and routing between them is enabled by default.
It's the other devices, like the firewall and the PC's that don't know how to get from one network to the other...
ASKER CERTIFIED SOLUTION
Avatar of AutoSponge
AutoSponge

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial