LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Assigning a static IP address hangs system??? (https://www.linuxquestions.org/questions/linux-networking-3/assigning-a-static-ip-address-hangs-system-554333/)

dmangal 05-16-2007 08:03 AM

Assigning a static IP address hangs system???
 
I'm trying to install a fibre channel network device. This is a Fibre Channel over IP card and (when working) acts similarly to an ethernet card (ipfc0 instead of eth0).

I've managed to install the driver modules successfully and I can run ifconfig and see the card listed there. However, when I try and assign a static IP address, the system hangs! I originally thought that if I add the line alias net-pf-10 off to the modprobe.conf file, this would solve the problem. Still no worky.

Please help!!!

Note: I'm running RHEL5 (kernel 2.6.18-8).

Lenard 05-16-2007 08:44 AM

The line entry in /etc/modproble.conf "alias net-pf-10 off' disables IPv6 networking but a bit more is required. Check you /etc/hosts file, RHEL5 defaults to the IPv6 configuration which is not the best choice in the USA and other places.

$ cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no <<---see this line
NOZEROCONF=yes <<--this is nice also


And each /etc/sysconfig/network-scripts/ifcfg-XXXX file needs a line entry;

IPADDR=192.168.0.62 <<--Local IP address of the device
NETMASK=255.255.255.0
GATEWAY=192.168.0.10 <<--this could be the IP address of your local system or the destination
DOMAIN=
ONBOOT=yes
ONHOTPLUG=yes
USERCTL=yes
IPV6INIT=no <<--the IPv6 line entry

dmangal 05-16-2007 04:12 PM

Thanks a lot! This is all i needed...

It works now.


All times are GMT -5. The time now is 10:44 PM.