[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache on second ip address?



see my reply to your 'ifconfig remove eth0:1' message on the list...
.. and comment out all the Listen and BindAddress directives! everything
should work painlessly without any virtual host configuration.

pietro.

> I'm moving our intranet onto a new box with address x.x.x.23 from an old
> box with a x.x.x.247 address.
> 
> I know very little about networking (I'm afraid everyone is accessing
> the intranet via the full ip address rather than name), and I would like
> to ask if it is possible to get the new box to run off both .23 and .247
> although it only has one NIC. Do I need to set up a Virtual Host in
> apache?
> 
> I've tried:
> 
> ifconfig eth0:1 add x.x.x.247, and this shows up in the routing table
> as:
> 
> eth0      Link encap:Ethernet  HWaddr 00:03:47:06:D0:95
>           inet addr:x.x.x.23  Bcast:x.x.x.255
>                                                 Mask:255.255.255.0
>           EtherTalk Phase 2 addr:6/224
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:69790530 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:7724204 errors:0 dropped:0 overruns:2942 carrier:0
>           collisions:0
> 
> eth0:1    Link encap:Ethernet  HWaddr 00:03:47:06:D0:95
>           inet addr:x.x.x.249  Bcast:x.x.x.255
>                                                 Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> 
> In apache (1.3 version) I have set the following directives:
> 
>     BindAddress x.x.x.23
>     BindAddress x.x.x.249
> 
>     ServerName  x.x.x.23
>     Listen      x.x.x.249
> 
> Thanks for ANY help!
> Rory



Reply to: