×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Reconfigure lo0

Reconfigure lo0

Reconfigure lo0

(OP)
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

RE: Reconfigure lo0


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

RE: Reconfigure lo0

(OP)
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 

RE: Reconfigure lo0

(OP)
any other help please ?

RE: Reconfigure lo0

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,

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close