Solved

How can I have 3 IP address for 1 Ethernet Interface?

Posted on 2004-08-20
10
234 Views
Last Modified: 2010-04-11
I have Router 3745, it has 1 Ethernet Interface.
On my Lan, I have 3 subnet.
I want to have 3 default gateway for these 3 subnet to this 3745.
So How can I have 3 IP address on Router 3745?
And If I use 2500. Can I do that?
Is it depend on IOS? Which IOS on 3745 or 2500, I need to use?
0
Comment
Question by:itman04
10 Comments
 
LVL 15

Accepted Solution

by:
scampgb earned 125 total points
ID: 11858459
Hi itman04,

I think that the "secondary" IP address can be used for what you want, I'm not sure if you can have a third one though.

Example would be:

interface ethernet 0
ip address 192.168.1.1 255.255.255.0
ip address 192.168.4.1 255.255.255.0 secondary

I hope that this helps - let me know if I can be of any further help.
0
 
LVL 1

Expert Comment

by:kmckinstry
ID: 11859467
Not sure if this will work for you, but you might want to try:

!    ISP interface
interface Ethernet1
 ip address 66.119.82.8 255.255.255.240
 ip nat outside
!
!
!    Allow traffic from internal LAN out
access-list 1 permit 10.10.0.0 0.0.255.255
!
ip nat inside source list 1 interface Ethernet1 overload
ip nat inside source static tcp 10.10.1.1 66.119.82.8 extendable
ip nat inside source static tcp 10.10.2.1 66.119.82.8 extendable
ip nat inside source static tcp 10.10.3.1 66.119.82.8 extendable
!
0
 
LVL 16

Assisted Solution

by:Nyaema
Nyaema earned 125 total points
ID: 11863599
Just helping scampgb

conf t
interface ethernet 0
ip address 192.168.1.1 255.255.255.0
ip address 192.168.4.1 255.255.255.0 secondary
ip address 192.168.10.1 255.255.255.0 secondary

Three IP Addresses...
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 15

Expert Comment

by:scampgb
ID: 11863617
Hi Nyaema - thanks :-)
I thought that you could probably do it, but I've never done it myself!
0
 
LVL 8

Expert Comment

by:MarkDozier
ID: 11867461
You can configure sub-interfaces on the interface.
0
 
LVL 16

Expert Comment

by:Nyaema
ID: 12578004
The LearnedOne...
I think I exhaustively answered this questiion and therefore deserve the points.

Isn't that right Itman04? =)
0
 
LVL 15

Expert Comment

by:scampgb
ID: 12578867
TheLearnedOne: I suggest Nyaema's first comment is accepted
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now