2 IP sur une carte sous Mandrake

Pierrot -  
 Pierrot -
Bonjour.
J'essaye actuellement de configurer Mandrake afin qu'il accepte 2
IP sur une meme carte reseau.
Je ne connais pas très bien cet OS et j'apprécierais un coup de
main si quelqu'un connait la reponse ou un site qui m'aiderait.
Merci bcp.
A voir également:

1 réponse

jisisv Messages postés 3678 Statut Modérateur 935
 
Bonjour,
Tu dois définir un aliss sur ton interface ( ici sous Debian)
zoot:~# ifconfig eth0:1 192.168.1.78
zoot:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:4F:09:8E:F9
inet addr:192.168.0.78 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4118713 errors:0 dropped:0 overruns:0 frame:0
TX packets:2531576 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2011286696 (1.8 GiB) TX bytes:502023372 (478.7 MiB)
Interrupt:10 Base address:0xa000

eth0:1 Link encap:Ethernet HWaddr 00:30:4F:09:8E:F9
inet addr:192.168.1.78 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xa000

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:123854 errors:0 dropped:0 overruns:0 frame:0
TX packets:123854 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:55189575 (52.6 MiB) TX bytes:55189575 (52.6 MiB)

Quant à la configuration je ne connait pas les outils d'administration sous Mandrake .
Regarder dans /etc/sysconfig/network-scripts/ ?
Remarquons ici l'utilisation du
préfixe Mi (pour 2**20 Bytes)

Johan
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
0
Pierrot
 
Parfait ça marche.Merci BEAUCOUP.Je commençais à bien batailler.
0