Computing.Net > Forums > Solaris > IP for second interface?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

IP for second interface?

Reply to Message Icon

Name: michael
Date: September 18, 2002 at 08:01:09 Pacific
OS: Solaris 8 2/02
CPU/Ram: 360MHz/384MB
Comment:

I would like to use my Ultra 5 as a router for my cable connection. I have everything set up but I need to add an IP address for my second physical interface (hme1) in /etc/hosts. But, I am using dhcp to get the address of my primary interface (hme0) so that IP changes. Any ideas on what IP I should enter for my second interface that runs to my hub?

Any help greatly appreciated.

Mike



Sponsored Link
Ads by Google

Response Number 1
Name: Mark M
Date: September 18, 2002 at 18:01:04 Pacific
Reply:

Whatever you put on to your second interface, make sure it's in a different subnet or you'll be tearing your hear out.

So if your dhcp pool from your router or ISP is in the 192.168.1.0 network (purely example), then put your second interface in the 192.168.2.0 network with a /24 subnet mask.

If your primary interface is connected straight to the cable provider then you will be safe using a private IP address & subnet (eg: 192.168.10.1)

As long as all the other machines connected to it are in the same network then you should have no problems (I'm assuming you'll take the second eth interface out on to a switch or hub).


HTH


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: IP for second interface?

how to config multi IP for one NIC ? www.computing.net/answers/solaris/how-to-config-multi-ip-for-one-nic-/2273.html

Any expert for Netscape www.computing.net/answers/solaris/any-expert-for-netscape/1532.html

netscape not working www.computing.net/answers/solaris/netscape-not-working/1485.html