LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2007, 08:03 AM   #1
dmangal
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Rep: Reputation: 0
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).
 
Old 05-16-2007, 08:44 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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
 
Old 05-16-2007, 04:12 PM   #3
dmangal
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks a lot! This is all i needed...

It works now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 6.06 Server(Assigning Static IP) TechMansoor Linux - Networking 4 12-18-2006 02:26 PM
Cannot ping router after assigning static IP mickwombat Linux - Networking 5 06-11-2006 06:09 PM
Assigning Static IP Problem canuck_barlow Linux - Newbie 5 01-06-2006 02:54 PM
Assigning IP address stryka Linux - Networking 5 12-09-2005 11:41 AM
assigning static ip vcheah Linux - Networking 5 12-25-2001 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration