New network configuration

New network configuration

Post by Ron Watki » Mon, 21 Jul 1997 04:00:00



I would like to move a Solaris 2.5.1 host to a "Private Address Space" as
defined in RFC1597. How do I go about setting up an initial network
configuration on the box? I don't believe that any previous network
configuration is on the host currently. I don't have access to "admintool".
Ive looked in rc2.d for ifconfig lines but those aren't telling me very much.
Is it possible that all I have to do is setup the networks and netmasks files
in /etc/inet directory?
Any advice would be appreciated.

PS, I don't have a console, just a dumb tty so I can't run admintool or any
of the help systems that I know of. I also don't have any of the Solaris
manuals either.
--
                Ron Watkins

 
 
 

1. newbie question - IP configuration for new internet server on network with multiple IP blocks

I'm a newbie to Solaris so this may be a simple question.              

I have just setup a new Solaris 2.6 x86 server.  The server works fine
when I give it an IP address that is in the same class C as the
router's class C address.  However, if I give it an IP that is not
within the same class C as the router it is unable to see any other
address that is outside of the non-router IP block.

I am going to move the server to another network (co-location) and
there is a very high chance that the IP address will not fall within
the same IP block as the router so I need to resolve this.

/etc/defaultrouter
I set the etc/defaultrouter to the router's address, no <cr> or spaces

/etc/netmasks
updated the file with class c and netmask 255.255.255.0
e.g.
192.168.1.0 255.255.255.0
192.169.25.0 255.255.255.0

I tried:
route add default $gateway <router address>
but it said it was unreachable

I also updated the following, but I don't believe they make a
difference.

/etc/nsswitch.conf
modified the line:
hosts: files dns

/etc/hosts
added the nameserver IP and fully qualified internet domain name

/etc/resolv.conf
domain domainname
nameserver ns1
nameserver ns2

-carlo

2. eth0- device not found

3. network configuration problem with new kernel

4. shell sed

5. network configuration - how do I see a solaris 8 box from my windows network?

6. cron job

7. Connecting to the @Home network/General network configuration

8. X running very slow when using 16bpp

9. e-mail configuration main network and connecting network has same Domain

10. New!: CreativeLinux.com, Webbie Tookay-Virtual Supermodel, Game Show Network Debuts New Show

11. new cpu, new board, same NIC, same network settings...

12. New to Networking: WinNT network, Dynamic IP addressing, Passwords..?