Click to See Complete Forum and Search --> : ifup and ifdown?


MkIII Supra
03-14-2001, 02:19 AM
ifup eht0 and ifdown eth0 do not exist in SuSE! So how do I start and stop my network? I used to know about netstart or sumthin of that nature, but I can't seem to locate it in the man pages and nothing online yet...

Any ideas?

MkIII Supra
03-14-2001, 09:17 AM
Bump

Kadesh
03-14-2001, 10:05 AM
ifup and ifdown are basically scripts that read /etc/sysconfig/network-scripts/ifcfg-eth* .

It's basically the same as ifconfig up/down except it switches to pump if you use dhcp. I never even knew about ifup/down until I had already grown used to ifconfig and pump.

I don't know the equivalent in SuSE but why not just make custom scripts named ifup and ifdown?

Relavent commands I guess:
pump -i eth*
-OR-
dhcpd eth*
-OR-
ifconfig eth* MYIP netmask MYNETMASK broadcast MYBROADCAST up

route add default gw YOURGATEWAY

then:
ifconfig down