the book says:
The following command creates a sample file for the *eth0* device
with a static IP address:
cd /etc/sysconfig/
cat > ifconfig.eth0 << "EOF" ONBOOT=yes
IFACE=eth0
SERVICE=ipv4-static
IP=192.168.1.1
GATEWAY=192.168.1.2
PREFIX=24
BROADCAST=192.168.1.255
EOF
I was looking at it and my network is on the 192.168.0.x subnet. How do I look
at the settings on the host system to see what I need to change the ip
numbers too?
(you knowthe broadcast/gateway numbers)
I tried, 'ip addr' and 'ifconfig' but that didn't show the current settings.
I even spent time looking at their man pages but am thinking their not
what I need.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss