More than one mogstored daemon
John A. (A_J) Dormer 2
jad at clubphoto.com
Tue Aug 16 07:21:03 PDT 2005
Vitaliy F. Scherbakov wrote:
> Does anybody know how to create multiply ip's for one host?
If you're using Linux, you have the option of using aliases on an
interface, which the kernel will short-circuit and not emit packets onto
the network.
It would also be possible to do this with the loopback (lo) interface.
AIX supports interface aliasing, and I think that most modern *NIXes do
it in one way or another.
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:27:7A:BD:AC
inet addr:192.168.168.104 Bcast:192.168.168.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42235566 errors:1 dropped:0 overruns:0 frame:0
TX packets:39335346 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
RX bytes:3034006360 (2893.4 Mb) TX bytes:3211119063 (3062.3 Mb)
Interrupt:58 Base address:0x3000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44657 errors:0 dropped:0 overruns:0 frame:0
TX packets:44657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31001354 (29.5 Mb) TX bytes:31001354 (29.5 Mb)
# ifconfig eth0:1 192.168.168.105
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:27:7A:BD:AC
inet addr:192.168.168.104 Bcast:192.168.168.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42235566 errors:1 dropped:0 overruns:0 frame:0
TX packets:39335346 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
RX bytes:3034006360 (2893.4 Mb) TX bytes:3211119063 (3062.3 Mb)
Interrupt:58 Base address:0x3000
eth0:1 Link encap:Ethernet HWaddr 00:0A:27:7A:BD:AC
inet addr:192.168.168.105 Bcast:192.168.168.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:58 Base address:0x3000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44657 errors:0 dropped:0 overruns:0 frame:0
TX packets:44657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31001354 (29.5 Mb) TX bytes:31001354 (29.5 Mb)
More information about the mogilefs
mailing list