RedHat 9 network settings

shell scripts Add comments


#
# RedHat Linux 9 Server
# Network Setup
#

cat >/etc/sysconfig/network
NETWORKING=yes
HOSTAME=homebox
GATEWAY=192.168.30.254
EOF

cat >/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.30.1
NETMASK=255.255.255.0
GATEWAY=80.98.111.254
EOF

cat >/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
EOF

Leave a Reply

You must be logged in to post a comment.

WebSite Powered by webHauser
Entries RSS Comments RSS Login