How to add 2 gateway routes?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to add 2 gateway routes?
# 1  
Old 07-22-2003
How to add 2 gateway routes?

I need some help adding routes in sco.

I am using SCO Openserver 5.0.4.
Basically I have 2 gateways here. The first is 10.15.1.1 and allows me access to the rest of the computers in the office and in other offices.

The other gateway is 10.15.10.2 and is the sonicwall that will allow access to the internet and VPN services.

I have tried to add an entry into the /usr/internet/etc/sco_ip/routes file, but this caused intermittent access to the computer (it would drop connections, sometimes it could ping out, sometimes not).
# 2  
Old 07-24-2003
SCO FAQ - routes

Quote:
SCO 5.0.4 adds a /etc/rc2.d/S90iproute script that reads /usr/internet/etc/sco_ip/routes. It's the Internet Manager that can add info to that file, but there's no reason you can't do it manually. The format is simple:

# comments are ok
# simple form
net default 10.1.1.3
# it's smart enough to delete the previous default
net default 192.168.1.2
# routes to specific hosts
host 192.168.1.8 10.1.1.7
# netmasks optional
net 192.168.1.0 10.1.1.3 255.255.255.0
# if field 1 isn't host or net, it's ignored
happiness 172.16.80.10 10.1.1.1
sanjose 172.16.80.10 10.1.1.1

Another advantage of this script is that when called with "stop" (/etc/rc2.d/S90iproute stop), it will delete the routes listed in the file.
# 3  
Old 07-24-2003
Why don't you just set up 10.15.1.1 as your office default gateway and 10.15.10.2 as the default gateway for 10.15.1.1?
# 4  
Old 07-25-2003
Thanks for the info. I wasn't sure of how to add an entry for
an ip range for my internal network. I used the entry
"host 10.1.0.0 gateway" for the whole 10.1.0.0 range.
It appears to have worked.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. Solaris

Cannot add gateway

Hi, OS: Solaris 11.2 64bit IP address: 172.16.10.10 Netmask: 255.255.254.0 Gateway: 172.16.2.254 From windows box, i can set and ping gateway. IP address is same segment with windows box. But on solaris i cannot set gateway. route add default 172.16.2.254 add net default: gateway... (6 Replies)
Discussion started by: mzainal
6 Replies

3. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

4. SCO

SCO 5.0.5 Add routes for new networks

Hi all, n00b here. We currently have 3 SCO 5.0.5 machines in our network that run a mission management system. Our internal network was always a 10.0.0.0 network and the machines worked fine. Our company is going through a network upgrade for VoIP and some of our departments are now on... (5 Replies)
Discussion started by: gibson_hg
5 Replies

5. Solaris

Add Static Routes to new physical address

Hi, I need help to add new route: 10.252.0.138, GW 10.252.0.129 to e1000g1 and 10.252.0.10, GW 10.252.0.1 to e1000g2 tnx (4 Replies)
Discussion started by: mehrdad68
4 Replies

6. Solaris

Where could I save the routes created using route add ?

Hey Gurus. My routes add using route add , are lost , after reboot.....where caould i save this routes a dont lost them ? Sun Solaris 10 is my OS. Thanks in advance, AGADEA. Unix ADMIN (3 Replies)
Discussion started by: aggadtech08
3 Replies

7. Solaris

Add gateway

Hi Community, I've a question about network adaptors. I've installed Solaris 10 configuring the ce0 port with an IP(10.23.8.15) , an interface_name (first) and a gateway(10.23.8.1) . I need to change the name of the interface ce0 and to configure another interface (ce1) with another... (1 Reply)
Discussion started by: Sunb3
1 Replies

8. SCO

how to add default routes in SCO

Hi, I add following routes manually each time system reboots: #route add 192.168.1.0 -gateway 192.168.0.90 #route add 192.168.200.0 -gateway 192.168.0.200 Is there any way in SCO 7.1.1 to automate this route add process? i.e. each time system reboots, it automatically adds these routes in... (1 Reply)
Discussion started by: tayyabq8
1 Replies

9. HP-UX

How to add another default gateway

I am using HP-UX 11i and I need to add another default gateway. how can I do that ? (3 Replies)
Discussion started by: salhoub
3 Replies

10. UNIX for Dummies Questions & Answers

Aix Add Gateway

I have a AIX lates OS. I;m trying to setup a remote office using a telnet section and for some reazon it wont let me login in to the server. I've done this type of configuration on a SCO 5.0.6 . In SCO there is a file call S99route and that is where you put the gateway and it works just... (3 Replies)
Discussion started by: josramon
3 Replies
Login or Register to Ask a Question