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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing behind a linksys AP/router

Status
Not open for further replies.

3alex

IS-IT--Management
Jan 12, 2007
4
US
Hello all.
I am very new on setting up router so pleae excuse my ignorance.
I just got two 2501 cisco routers and Im trying to set up a lab.
This is how my network looks at the moment.
A modem with a public IP that feeds to a Linksys AP/router.
The Linksys router is connected to a server with two NICs.
The servers External Nic has the 192.168.1.100/255.255.255.0 and 192.168.1.1 is its gateway.(that is connected to the Linksys router)
The second (internal0 nic has 192.168.1.200/255.255.255.0 with gateway 192.168.1.250 which is the eth0 on the (R1) first cisco router.
The two cisco routers are connected on serial1 on 11.11.11.0
network.
The seond server is connected to the (R2)cisco eth0. Router's eth0 is 10.10.10.1/255.255.255.0 servers address is 10.10.10.10.2/255.255.255.0 with 10.10.10.1 as its gateway.
No here comes the question.
I am able to ping from the second server all the way to the internal Nic on the first server 192.168.1.200 but I cannot ping the Nic that is connected to the Linksys router 192.168.1.100.
What I am trying to do is to give internet access to he second server through the two cisco routers.
I tried to share/bridge the connection/nics on the first server with no results.
Can anyone give me some clues or direct me to a solution?
I will appreciate it.
Thanks.
 
I don't think the server with the 2 nics in it can have addresses and gateways on the same subnet.

Burt
 
as burt says two different gateways on that server wont work out of the box.. if its a linux based server you could go over to

Linux Advanced Routing & Traffic Control HOWTO

but personally i was never to successful at getting it to work as it should..

i ended up using 2 ips in the same subnet but a single gateway. the gateway router has an inbound policy map which will route all traffic to the gateway of your choice.

you make the routing decisions using acls and the "set ip next hop" command in the route map.

check this out...
 
Thanks for the replies.
If I understand wll this implementations is for linux servers.
I have win2003 on both servers I use.
As I said I can reach the internal nic on the server1 from server2 and through the routers but I can't ping the second nic that connects to the linksys.
I see that the default gateways as they are set they block the communication between those two nics but if I set the nic with the same gateway (that is the linksys router gateway) then I will no be able to traffic packets to the eth0 on the first router?
Is that right or I am completely lost?
 
only one gateway will function as far as i know on the win2003 servers...

so youll be blackhole'ing anything that comes out of that gateway sourced from the other nic.

if both of your wan connections terminated in the same cisco router you would be able to do some policy based routing and route to the appropriate isp...

as it is now im not sure youll get it to work

my guess is that you could get it to reply to both nics if you were as long as the request came from an address within the subnet of the nic.. but as soon as you require routing your only going to have one link work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top