03-19-2004 10:52 AM - edited 03-02-2019 02:25 PM
I would like to know if there is a way to setup two separate IP addresses on a single Router Ethernet interface. Basically what I am looking at doing is providing a client an ethernet dropout from a router that has a private 192.168.x.x subnet and doing port address translation outbound on those addresses, but this client also needs a small 30 host subnet of registered address, but does not want to handle any of the routing or translation of those addresses.
Is it possible to setup both a private and a registered ip address to one ethernet interface without having to use vlans or setup translations on the router?
The current ethernet interface is configured as follows:
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no ip proxy-arp
ip accounting output-packets
ip nat inside
no ip mroute-cache
speed 100
full-duplex
no cdp enable
03-19-2004 11:10 AM
ip address n.n.n.n m.m.m.m secondary
03-20-2004 11:14 PM
You should probably match your NAT with a ACL, so that you only do NAT on the prefered subnet/addresses.
03-23-2004 08:52 AM
Would IP address a.b.c.d 255.x.x.x secondary help?
03-23-2004 10:07 AM
I am actually trying the ip secondary, but I cannot seem to route inbound beyond the interface secondary address. Any hosts connected after the initial secondary address timeout on an inbound connection. outbound seems to work fine though, Any other thoughts?
03-23-2004 11:15 AM
Make sure you include the secondary IP address under your routing protocol configuration using the appropriate network statement.
Hope this helps,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: