Multiple IPs - How do I?

Multiple IPs - How do I?

Post by Mark Koles » Fri, 03 Nov 1995 04:00:00



: I would like to add a Web server (httpd) to my gateway
: (wormhole.com) and have it answer up as www.wormhole.com.  Is it
: possible to configure a machine with two IPs to accomplish that?

: TIA,

:               -Dick-

Assuming you are running DNS name server make it an alias.
--

---------------------------------------

Kick it!

 
 
 

1. ipconfig - multiple IPs - swapping IP effect on alias IPs?

Hello,

my IP structure looks like this:
# ifconfig -a
 lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
         inet 127.0.0.1 netmask ff000000
 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
         inet 194.163.186.149 netmask fffffff0 broadcast 194.163.186.159
         ether 0:80:17:28:ae:8f
 hme0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
         inet 194.163.186.158 netmask fffffff0 broadcast 194.163.186.255
 hme0:5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
         inet 192.168.183.156 netmask ffffff00 broadcast 192.168.183.255

I enable and disable the various alias IPs using plumb and unplumb.
/usr/sbin/ifconfig hme0:1 plumb
/usr/sbin/ifconfig hme0:1 194.163.186.156 broadcast 194.163.186.255 netmask
 255.255.255.240 up

Can I also do a plumb and unplumb with hme:0, the hardware IP of the machine?
I unfortunately do not have a test-machine here. Would hme0:2 and hme0:5
get changed or stay as they are without being influenced?

Thanks,
    Armin

2. 'snoop' core dump

3. Routing multiple public IPs to multiple internal networks

4. how to pass this argument to Expect ?

5. multiple IPs on multiple NICs

6. disk partitioning

7. ?Multiple domains with multiple IPs on HPUX 9.05 and Netscape Comm Server?

8. supply password to fetchmail on commandline

9. firewall on a virtual web server with multiple IPs

10. Sendmail and multiple IPs

11. Syntax for listing multiple IPs in an .htaccess file

12. Multiple IPs per interface

13. Multiple IPs on one Linux computer