[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to set the LAN up automatically



Every time I want to make my LAN up, I need to config as follow:
# ifconfig eth0 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255
up
and
#route add -net 192.168.1.0 eth0

I have try to added these two line on /etc/init.d/network and reboot,
but still failure, If I want to use the eth0 I need to config as above
again.
How to set my LAN up automatically when the machine is boot?

Best regards,


Reply to: