On Thu, Jan 20, 2011 at 12:20 PM, Rick Shelton <[email protected]> wrote:
>> #ifconfig yields: "command not found"
> ifconfig is not installed with recent versions of LFS.
> look at the "Contents of IPRoute2" section.
>
>
>> /etc/sysconfig/network-devices/ifconfig.eth0/ipv4
>> ONBOOT=yes
>> SERVICE=ipv4-static
>> IP=10.0.0.2
>> GATEWAY=192.168.1.2
>> PREFIX=24
>> BROADCAST=192.168.1.255
>
> I'm rusty, but why is your static IP on a completely different subnet
> than your gateway?
> Gateway should be the address of your router.
> And I think you want an IP that is on the same subnet as the gateway.
> So IP and Gateway should differ only in the last octet.
>
> hth.

Sorry, forgot the friendly link to accompany reference to the
"Contents of IPRoute2."
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/iproute2.html
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to