Gentoo Archives: gentoo-user

From: BRM <bm_witness@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] IP aliasing problem
Date: Thu, 07 Oct 2010 17:52:27
Message-Id: 810692.43662.qm@web51906.mail.re2.yahoo.com
In Reply to: Re: [gentoo-user] IP aliasing problem by Grant
1 > ServerName differently for each VirtualHost. Strangely though, I
2
3 > still don't get stats for RX/TX from ifconfig:
4 >
5 > eth0 Link encap:Ethernet HWaddr [removed]
6 > inet addr:1.2.3.1 Bcast:[removed] Mask:255.255.255.248
7 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
8 > RX packets:923677 errors:0 dropped:0 overruns:0 frame:0
9 > TX packets:1444212 errors:0 dropped:0 overruns:0 carrier:0
10 > collisions:0 txqueuelen:1000
11 > RX bytes:124904402 (119.1 MiB) TX bytes:1880087116 (1.7 GiB)
12 > Interrupt:40
13 >
14 > eth0:1 Link encap:Ethernet HWaddr [removed]
15 > inet addr:1.2.3.2 Bcast:[removed] Mask:255.255.255.248
16 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
17 > Interrupt:40
18
19 Remember eth0:1 is an alias for eth0.
20
21 Your above info is slightly wrong in that eth0 should be listed as eth0:0; where
22 instead ifconfig is showing eth0 generic information and eth0:0 information
23 combined.
24 That's probably the source of your confusion.
25
26 Don't know how to remedy it though.
27
28 HTH,
29
30 Ben

Replies

Subject Author
Re: [gentoo-user] IP aliasing problem Stroller <stroller@××××××××××××××××××.uk>