Tag Archives: network

Solaris 10 Change IP/Network/Hostname

I seem to be searching and using the same google result a bunch lately. So here it is:

Changing the IP on Solaris 10 requires editing two files:

1. /etc/hosts
2. /etc/inet/ipnodes
3. /etc/netmasks (if subnet mask needs changing)

If you are changing network address, you will need to change the router address in the file:
1. /etc/defaultrouter

Changing the hostname now only requires editing these files:

1. /etc/hosts
2. /etc/nodename
3. /etc/hostname.”interface name”
hostname “hostname” (change until you can reboot)

Thanks to shiv729 at devshed.

Original forum post:

Binding IP’s to NICs in Debian

So, say you want one of your Debian based servers to listen on more than 1 IP address. Heres a quick and dirty example of how to do this.

This may or may not be the correct way to do this, but it works on my machines.

Adding an IP to eth0 (usually the default)

If you look in your /etc/network/interfaces file you should see something like this:

auto eth0
iface eth0 inet static

FTP Reporting Unknown Host

So, I’m staring the problem in the face for quite some time (though it’s probably obvious to those that have encountered it before.)

Test server #1: Redhat 9
Test server #2: Redhat 7.1

Both in the same network segment.
Both using the same DNS servers.

Let the hilarity ensue!

On #1:
host ftp.lanside.net reports fine
ftp ftp.landside.net connects fine

On #2:
host ftp.lanside.net reports fine
ftp ftp.lanside.net reports Unknown Host

Figured it was a configuration file, but wasn’t sure which one. Finally found the answer to my problem on a Solaris site. Theres one for google-fu, leave off the operating system next time.

PPTP VPN server using MPD-Netgraph

Currently, I am testing a few different vpn solutions to secure my wireless network at home. This is just the barebones steps I went through to get MPD setup and running for Windows XP clients.

mpd-netgraph setup:

I followed the suggestions in the following urls:

Background Info:

10.x.x.0/24 was my internal network was my wireless cloud

1. System specs:

Celeron 333
4GB Harddisk
2 NICs

The rest really doesn’t matter.

2. Install FreeBSD:

minimal + kern developer install

kernel compile: