Solved

IP Aliasing under Linux Slackware

Posted on 1997-12-07
2
450 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
2 Comments
 
LVL 1

Accepted Solution

by:
XMS earned 100 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now