?
Solved

IP Aliasing under Linux Slackware

Posted on 1997-12-07
2
Medium Priority
?
469 Views
Last Modified: 2013-12-05
I have IP aliasing already configured and working, however the person who helped me do this is currently unavailble to me and I need to add another IP to the group of subdomains currently running. I am running the latest linux kernel, I have already added the subdomain name and IP to my /var/named/pz/kia-sequoia.com file, but I think there are other steps and files I am missing. could anyone PLEASE give me a step by step on this? and the file names and approx locations of the files needing modification, and also the processes I will have to restart..... THANK YOU !!!
0
Comment
Question by:lorenkia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
XMS earned 300 total points
ID: 1587053
I don't know the precise location of the network configuration files on Slackware systems, however, here's a step by step on setting it all up manually :

1) Run ifconfig with no extra parameters. This will give you a list of all interfaces currently in use on your system. The aliased interfaces should apper like eth0:0, eth0:1 etc.

2) Find the first unused instance (eth0:n) of the ethernet interface and ifconfig it with the new IP, netmask etc., (like for example "ifconfig eth0:2 192.168.1.69 netmask 255.255.255.192")

3) Add a route to the new subnet via the newly-configured aliased interface. (like for example "route add -net 192.168.1.64 netmask 255.255.255.192 dev eth0:2")

4) Make _sure_ you have made all the required alterations to the name server's config files.

5) Find the PID of the name server daemon (named) and restart it with a "kill -HUP".

At this point, all the requested changes should be active. Make all necessary tests.

As I said before, I have no clue at all on the location of the network configuration scripts on Slackware, but you may try the following to locate them (this is lame, but with great chances to work):

Recursively grep through the files in /etc for eth0:0 or whatever the name of your previously aliased interface's name is. There should be no more than 2-3 matching files.
Add the lines that you had previously typed on the command line (the ifconfig and the route command) to the files where you think they fit in. :-)

Good luck.

0
 

Author Comment

by:lorenkia
ID: 1587054
ok I figured out the first part, got as far as the route add, it tells me that I need to specify AF or address families, can you please tell me what this is? or at least what might fit the bill? it just won't do this last little thing.....
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question