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

Routing single IP

Status
Not open for further replies.

cpalermo

ISP
Sep 13, 2001
10
US
I have a cisco 805 set up that has one real ip on the serial side, and doing nat on the eth side. The customer wants one real ip address inside his network.

Can I just add a static route for that ip address and give it ethernet0 as the next hop?

Also, in the future, I expect that forwarding of ports 25 and 110 will need to be done from the real ip of the router to a static nat address inside. How would this be accomplished?
 
I would have to ask, whats the subnet mask of the given ip?
In normal cases it probably would be 255.255.255.252 thus
given only 1 ip. Thats why you use NAT. lets us know what you have. Jeter@LasVegas.com
J.Fisher CCNA
 
Well, I guess I don't know how to answer your question. I have a class C. I have a cisco 3640 doing routing for my network. On that network is a linux box that has it's own IP with a netmask of 255.255.255.0. It also has in it's routing table two IPs (from the same class c block) with the netmask of 255.255.255.255 that are routed point-to-point through the serial interface. From those two IPs, the cisco 805 on the other end has one for it's serial interface, and is doing nat on the ethernet side. I also want to add the static route:

ip route XXX.XXX.XXX.10 255.255.255.255 Ethernet0

in hopes that it would route the .10 address out the ethernet interface as well as the nat addresses.

Does this answer your question, and I am correct in thinking this will work?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top