Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reconfigure lo0

Status
Not open for further replies.

stephnane0

IS-IT--Management
Jun 30, 2011
13
0
0
FR
Hello.

I removed too much things in lo0 configuration, and now, I only have this with ifconfig :

Code:
lo0: flags=e08080a,c0<BROADCAST,LOOPBACK,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>

I tried to make
Code:
ifconfig lo0 inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
, then It works well. But after a reboot, this configuration disapear.

How can I save modifications of lo0 ?

Tks
 

do you have the similiar entries in AIXs' ODM for lo0?

Code:
$ lsattr -El lo0
mtu           16896     Maximum IP Packet Size for This Device     True
netaddr       127.0.0.1 Internet Address                           True
netaddr6      ::1       IPv6 Internet Address                      True
netmask                 Subnet Mask                                True
prefixlen               IPv6 Alias including Prefix Length         True
rfc1323                 Enable/Disable TCP RFC 1323 Window Scaling True
state         up        Current Interface Status                   True
tcp_mssdflt             Set TCP Maximum Segment Size               True
tcp_nodelay             Enable/Disable TCP_NODELAY Option          True
tcp_recvspace           Set Socket Buffer Space for Receiving      True
tcp_sendspace           Set Socket Buffer Space for Sending        True
$

If not you can correct it with chdev command:

Code:
chdev -l lo0 -a netaddr=127.0.0.1 -a mtu=16896 -a state=up

When the ODM entry existed, then probably it is not being activated during system boot...try then "mkdev -l lo0" and then check "netstat -i" to see if the loopback IP is up
 
I tried this chdev command, but it doesn't work.
Here is what I have after a reboot :

Code:
(myServer) <root> / #ifconfig lo0
lo0: flags=e08080a,c0<BROADCAST,LOOPBACK,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>


(myServer) <root> / #lsattr -El lo0
mtu           16896     Maximum IP Packet Size for This Device     True
netaddr       127.0.0.1 Internet Address                           True
netaddr6                IPv6 Internet Address                      True
netmask                 Subnet Mask                                True
prefixlen               IPv6 Alias including Prefix Length         True
rfc1323                 Enable/Disable TCP RFC 1323 Window Scaling True
state         up        Current Interface Status                   True
tcp_mssdflt             Set TCP Maximum Segment Size               True
tcp_nodelay             Enable/Disable TCP_NODELAY Option          True
tcp_recvspace           Set Socket Buffer Space for Receiving      True
tcp_sendspace           Set Socket Buffer Space for Sending        True
 
I have it too, and i have to configure it in /etc/rc.net like this :

Code:
/usr/sbin/ifconfig lo0 inet 127.0.0.1 up >>$LOGFILE 2>&


I suppose this work too :

Code:
/usr/sbin/ifconfig lo0 inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255  up >>$LOGFILE 2>&

Bulent,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top