Technical article 127614

Can't add multiple routes after installing MP4

OpenServer 6.0.0

Written · Last revised

Problem

I want to add a route like:

# /etc/route add -netmask 255.255.255.0 -net 10.1.110.0 \
                 -gateway 192.168.246.65

I get no error message but netstat shows:

# netstat -rn
  Routing tables
  Destination  Gateway         Flags  Refs   Use   Interface
  10           192.168.246.65  UGS       0     0   net0

which is a class A network and NOT the expected Class C network.

This has worked on previous OpenServer6 systems (MP1, MP2, and MP3).

Solution

You have to change the way you use the "route" command.

The following will work:
# route add -net 10.1.110.0 -netmask 255.255.255.0 192.168.246.65
or:
# route add -net 10.1.110.0 -netmask 255.255.255.0 \
            -gateway 192.168.246.65
or:
# route add 10.1.110.0 -netmask 255.255.255.0 192.168.246.65
or:
# route add 10.1.110.0/24 192.168.246.65
This will create a route like:
# netstat -rn
  Routing tables
  Destination  Gateway          Flags  Refs   Use     Interface
  10.1.110/24  192.168.246.65   UGS       0     0     net0

This issue has been reported to SCO Engineering.

From the Xinuos technical article database, record 127614. Reproduced with permission. The original is at www.sco.com/ta/127614, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.