Thank's, it's working now. Michel. -----Message d'origine----- De : Vaclav Brunnhofer [mailto:vbru@entu.cas.cz] Envoyé : 8 août 2005 07:27 À : "Dubé, Michel" Objet : Re: [suse-security] Virtual IP Dubé, Michel napsal(a):
eth0:0 Link encap:Ethernet HWaddr 00:09:6B:BA:28:A0 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
Here is the file: BOOTPROTO='dhcp'
This is the clue! You have to change this to BOOTPROTO='static'
MTU='' REMOTE_IPADDR='' STARTMODE='onboot' UNIQUE='oxTw.JIMl2CweY+3'
IPADDR_0='192.168.1.100' NETMASK_0='255.255.255.0' BROADCAST_0='192.168.1.255' NETWORK_0='192.168.1.0'
ifconfig show:
eth0 Link encap:Ethernet HWaddr 00:09:6B:BA:28:A0 inet addr:XXX.XX.XX.135 Bcast:XXX.XX.XX.255 Mask:255.255.255.0 inet6 addr: fe80::209:6bff:feba:28a0/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:37863 errors:0 dropped:0 overruns:0 frame:0 TX packets:3318 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2821465 (2.6 Mb) TX bytes:343335 (335.2 Kb)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:42 errors:0 dropped:0 overruns:0 frame:0 TX packets:42 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2896 (2.8 Kb) TX bytes:2896 (2.8 Kb)
If I do the command manually ( >ifconfig eth0:0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255), it's working fine until I reboot. I try to find the way to have it at boot time via the file ifcfg-eth-id-00:09:6b:ba:28:a0. It's suppose to work according to the documentation, so what's missing.
Thank's,
Michel.
-- Vaclav Brunnhofer ENTU AV CR Branisovska 31 37005 Ceske Budejovice Czech Republic tel.: +420387775251 mob.: +420606632822 fax : +420355310354
participants (1)
-
"Dubé, Michel"