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
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
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
Summary: I don't have the answer to your question since I have never used a logical interface for routing. Your logic seems correct. One would expect the intel box to route the packet to the 172 interface on t...
Summary: Hi, I'm trying to FTP from my win98 machine to any IP address on the internet thru my Sun box running apache on my local lan. This Sun box is my proxy server and only connection to the internet. Any ...
Summary: I have a SUN Ultra-1 with solaris 2.6 on it. I would like to try and "harden" this box as much as possible. Does anyone have any ideas or have a URL that I can check out? I already have stopped mos...