Computing.Net > Forums > Solaris > SUN box as a gateway

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.

SUN box as a gateway

Reply to Message Icon

Name: nishanthar
Date: July 15, 2004 at 09:41:08 Pacific
OS: Solaris 8
CPU/Ram: 512
Comment:

Dear All,
My network config. as follows.
m/c A - 192.168.100.100 (eri0)
m/c B - 192.168.100.200 (eri0)
172.16.80.5 (eri1)
m/c C - 172.16.80.150

m/c A & m/c B in one LAN. Also m/c B & m/c C in another LAN. (i.e. m/c B has 2 eth ports)

I need to connect (telnet/ftp etc) to m/c C from m/c A.
How do I do the routing configuration ??

Thanks for your help.

Regards,

Nish.

Dear All,
My network config. as follows.
m/c A - 192.168.100.100 (eri0)
m/c B - 192.168.100.200 (eri0)
172.16.80.5 (eri1)
m/c C - 172.16.80.150

m/c A & m/c B in one LAN. Also



Sponsored Link
Ads by Google

Response Number 1
Name: florocent
Date: July 18, 2004 at 04:11:52 Pacific
Reply:

create the file /etc/hostname.eri0 with a single line "h1" or anything in the file, create another file /etc/hostname.eri1 with a single line like "h2" or anything.
add h1 and h2 on two seprate lines in /etc/inet/hosts file with the sepecified ip address for each interface.one of them must be of network 192.168.100 and other for 172.x
add appropriate netmasks in the file /etc/netmasks.

touch /etc/defaultroute and leave it empty.
create file /etc/defaultdomain with your domain name on the single line of the file.
try
ndd -get /dev/ip ip_forwarding
if out put is "0" then enable it.restart the system.
hope it will work file.
good luck


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: SUN box as a gateway

Solaris 8 as a router www.computing.net/answers/solaris/solaris-8-as-a-router/1526.html

FTP thru Sun Box (apache) www.computing.net/answers/solaris/ftp-thru-sun-box-apache/762.html

lock down SUN box www.computing.net/answers/solaris/lock-down-sun-box/163.html