Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1758 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  alias d'IP sous linux (debian)

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

alias d'IP sous linux (debian)

n°173793
dj-kml
Scratcheur fou
Posté le 16-10-2002 à 12:01:46  profilanswer
 

comment faire pr specifier plusieurs adresses IP a une seule interface ?  
g trouve pour freeBSD mais pour la debian ca marche pas    
merci de m'aider


---------------
Touche pas au grisbi salope :fou:
mood
Publicité
Posté le 16-10-2002 à 12:01:46  profilanswer
 

n°173804
trictrac
Posté le 16-10-2002 à 12:32:11  profilanswer
 

pas besoin de poster plusieurs fois ;)

n°173822
littlebobo​y
Posté le 16-10-2002 à 12:58:47  profilanswer
 

dj-kml a écrit a écrit :

comment faire pr specifier plusieurs adresses IP a une seule interface ?  
g trouve pour freeBSD mais pour la debian ca marche pas    
merci de m'aider  




ip addr add (ip) dev interface ?

n°173841
Jar Jar
Intaigriste
Posté le 16-10-2002 à 13:41:12  profilanswer
 

iface eth0:0 inet static
   bla
   bla
 
iface eth0:1 inet static
   bli
   bli
 
edit : c'étaient des :


Message édité par Jar Jar le 16-10-2002 à 13:43:47

---------------
« No question is too silly to ask, but, of course, some are too silly to answer. » -- Perl book
n°173846
dj-kml
Scratcheur fou
Posté le 16-10-2002 à 13:50:41  profilanswer
 

j'capte rien ce que vous avez ecrit...


---------------
Touche pas au grisbi salope :fou:
n°173847
Jar Jar
Intaigriste
Posté le 16-10-2002 à 13:52:03  profilanswer
 

dj-kml a écrit a écrit :

j'capte rien ce que vous avez ecrit...


man interfaces


---------------
« No question is too silly to ask, but, of course, some are too silly to answer. » -- Perl book
n°173848
dj-kml
Scratcheur fou
Posté le 16-10-2002 à 13:54:05  profilanswer
 

Jar Jar a écrit a écrit :

man interfaces




 
merci :jap:


---------------
Touche pas au grisbi salope :fou:
n°173856
dj-kml
Scratcheur fou
Posté le 16-10-2002 à 14:03:03  profilanswer
 

et comment on applique les modifications :??:


---------------
Touche pas au grisbi salope :fou:
n°173860
Jar Jar
Intaigriste
Posté le 16-10-2002 à 14:06:29  profilanswer
 

/etc/init.d/networking [stop|start]


---------------
« No question is too silly to ask, but, of course, some are too silly to answer. » -- Perl book
n°173869
dj-kml
Scratcheur fou
Posté le 16-10-2002 à 14:11:12  profilanswer
 

ca marche pas :cry:
 
voici mon fichier interfaces
 
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
# The loopback interface
auto lo
iface lo inet loopback
 
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0:0 inet static
        address 192.168.10.189
        netmask 255.255.0.0
        network 192.168.0.0
        broadcast 192.168.255.255
        gateway 192.168.0.1
 
iface eth0:1 inet static
        address 192.168.67.212
        netmask 255.255.0.0
        network 192.168.0.0
        broadcast 192.168.255.255
        gateway 192.168.0.1

 
g ajouté la partie en gras
spa bon :??:


---------------
Touche pas au grisbi salope :fou:
mood
Publicité
Posté le 16-10-2002 à 14:11:12  profilanswer
 

n°1059446
Snipe Foo
Head Shot !!!
Posté le 10-07-2008 à 14:23:30  profilanswer
 

Mieux vaut tard que jamais ...
 
Il ne faut pas oublier le auto eth0:1 avant le iface eth0:1 pour que cela fonctionne ;)

n°1059447
Fork Bomb
Obsédé textuel
Posté le 10-07-2008 à 14:27:54  profilanswer
 

Oui mais non là.  :pfff:


---------------
Décentralisons Internet-Bépo-Troll Bingo - "Pour adoucir le mélange, pressez trois quartiers d’orange !"
n°1059552
dam1330
...
Posté le 10-07-2008 à 23:10:09  profilanswer
 

c'est pas un tres bonne idee de mettre plusieurs fois la gateway

n°1059659
Taz
bisounours-codeur
Posté le 11-07-2008 à 13:24:16  profilanswer
 

ça pue ces interfaces à la con.
 
ip addr add ...  
 
c'est achement mieux et illimité.

n°1060061
splurf
Rm -Rf / && oops :o
Posté le 13-07-2008 à 19:19:24  profilanswer
 

auto eth0
iface eth0 inet static
        address 192.168.10.189
        netmask 255.255.0.0
        network 192.168.0.0
        broadcast 192.168.255.255
        gateway 192.168.0.1
 
auto eth0:0
iface eth0:0 inet static
        address 192.168.67.212
        netmask 255.255.0.0
        network 192.168.0.0
        broadcast 192.168.255.255
        gateway 192.168.0.1


Aller à :
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Codes et scripts

  alias d'IP sous linux (debian)

 

Sujets relatifs
oggenc / debian testing.[Linux] probleme simple.... mais ca urge!!
[debian]upgrade kdeBooter linux sans dd par lan
J arrive po a installer la linux 9 !! help me plz !!routeur linux!
Impression sous Linux -> APPS ???Problème avec XF86Config et Debian...
[Urgent] [Linux] Configuration resoProbleme pour faire tourner Quake III sous linux :/
Plus de sujets relatifs à : alias d'IP sous linux (debian)


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR