Re: virtual interfaces
From: Adam Aube (aaube01_at_baker.edu)
Date: 12/06/04
- Previous message: John L Fjellstad: "Re: /sys and lspci"
- In reply to: Antonio Rodriguez: "Re: virtual interfaces"
- Next in thread: Sam Watkins: "Re: virtual interfaces"
- Reply: Sam Watkins: "Re: virtual interfaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Mon, 06 Dec 2004 00:10:43 -0500
Antonio Rodriguez wrote:
> On Sun, Dec 05, 2004 at 11:07:55PM +1100, Sam Watkins wrote:
>> On Sat, Dec 04, 2004 at 11:07:08AM -0500, Antonio Rodriguez wrote:
>> > 1. adding the needed paragraph to /etc/network/interfaces to reflect
>> > the virtual iface with 'anotherIP',
>> > 2. adding the corresponding file in /etc/apache2/sites-available,
>> > 3. creating the symlink in /etc/apache2/sites-enabled
>> > 4. stopping, starting, reloading again networking and apache2
>> > still can't get the added domain to respond. My question is: is there
>> > any other step that I am missing, or should I make the assumption that
>> > the 'anotherIP' is not pointing to my physical machine?
>> Did you type "ifconfig" to check that the IP alias is set up?
>> it should show up as eth0:1 or whatever number you gave it.
>> can you ping the new IP address from the machine running apache2?
>> what about from a different machine?
> Here is what happens:
> dedicated-deb-17boom:/etc/apache2# ping 'anotherIP'
> PING 'anotherIP' ('anotherIP') 56(84) bytes of data.
>>From 'mainIP' icmp_seq=1 Destination Host Unreachable
>>From 'mainIP' icmp_seq=2 Destination Host Unreachable
>>From 'mainIP' icmp_seq=3 Destination Host Unreachable
> It seems to be a configuration problem in my side, here is what I
> have:
> dedicated-deb-17boom:/etc/apache2# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:01:29:94:A2:1B
> inet addr:'mainIP' Bcast:'mainIPfragment'.255
> eth0:0 Link encap:Ethernet HWaddr 00:01:29:94:A2:1B
> inet addr:'anotherIP' Bcast:'mainIPfragment'.255
Here's the problem - eth0 and eth0:0 are identical, so you have defined the
interface twice.
> and also 'cat /etc/network/interfaces' shows
> # The secondary network interface (virtual 1)
> auto eth0:0
> iface eth0:0 inet static
Change these to eth0:1 and you should be all set.
Adam
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: John L Fjellstad: "Re: /sys and lspci"
- In reply to: Antonio Rodriguez: "Re: virtual interfaces"
- Next in thread: Sam Watkins: "Re: virtual interfaces"
- Reply: Sam Watkins: "Re: virtual interfaces"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|