10.0.0.5 netmask ff000000 That was happening because the startup scripts were feeding both addresses to the ifconfig line. Once the script went back to the proper format of a single address, the ifconfig used it differently. # ifconfig hme0:2 10.0.0.4 # ifconfig hme0:2 hme0:2: flags=1000842 mtu 1500 index 2 inet 10.0.0.4 netmask ff000000 broadcast 10.255.255.255 -- Darren Dunham com Unix System Administrator Taos - The SysAdmin Company Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <1M3db.436628$cF.139623@rwcrnsc53> [htmlstate] => on_nl2br [postusername] => Darren [ip] => ddunham@redwood [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 7 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> sys-unconfig - Sun Solaris

sys-unconfig - Sun Solaris

Will sys-unconfig also affect any software that I've installed and configured? I'm having a lot of problems with my two adapters in my Netra 120 and I wanted to the sys-unconfig to redo those. For some reason eri0 and eri1 show as pointopoint links back to the loopback address. I have no idea why, I never set them up that way. But I have some software that took some time installing and configuring and I'd hate to do it again...any thoughts? Steve...

  1. #1

    Default sys-unconfig

    Will sys-unconfig also affect any software that I've installed and configured? I'm having a lot of problems with my two adapters in my Netra 120 and I wanted to the sys-unconfig to redo those. For some reason eri0 and eri1 show as pointopoint links back to the loopback address. I have no idea why, I never set them up that way. But I have some software that took some time installing and configuring and I'd hate to do it again...any thoughts?

    Steve
    Steve Guest

  2. #2

    Default Re: sys-unconfig

    Approximately 9/26/03 15:55, Steve W Kang uttered for posterity:
     

    It will reset the hostname, nodename, /etc/net/*host files,
    the nsswitch.conf, and remove the root password and unconfigure
    naming services. If that busts something, yup, it will bust
    your software.

    At the bottom of the man page is the full list of files it
    affects, and in the middle is pointers to the commands that
    run the next time you boot.

    You can't just ifconfig eri0 unplumb, etc. ?

    And in your /etc/hostname.eri0 and 1 file, do you have
    a resolvable hostname or an IP address?


    Lon Guest

  3. #3

    Default Re: sys-unconfig

    I tried ifconfig unplumb but it always seems to reset to a pointopoint link.
    In hostname.eri0 and eri1, I have IP address <tab> hostname, is that not
    right? Do the hostnames have to be different per interface?

    "Lon Stowell" <net> wrote in message
    news:1M3db.436628$.. 
    >
    > It will reset the hostname, nodename, /etc/net/*host files,
    > the nsswitch.conf, and remove the root password and unconfigure
    > naming services. If that busts something, yup, it will bust
    > your software.
    >
    > At the bottom of the man page is the full list of files it
    > affects, and in the middle is pointers to the commands that
    > run the next time you boot.
    >
    > You can't just ifconfig eri0 unplumb, etc. ?
    >
    > And in your /etc/hostname.eri0 and 1 file, do you have
    > a resolvable hostname or an IP address?
    >
    >[/ref]


    Steve Guest

  4. #4

    Default Re: sys-unconfig

    Approximately 9/26/03 16:36, Steve W Kang uttered for posterity:
     

    You will have two physical interfaces
    with the same IP address and confuse the heck out of any ethernet
    switch.

    And both need to be resolvable.

    The format of hostname.eri0 is not IP address and hostname. Nor
    can it be the same as any other hostname.eri*.

    For ease of admin, the hostname goes in the hostname.[ifname]
    file, then put the IP address and hostname in /etc/hosts
    if /etc/nsswitch is set to files and then nis, nis+, dns, or ldap.


    Lon Guest

  5. #5

    Default Re: sys-unconfig

    Thanks! I deleted the IP address info from hostname.eri0 and hostname.eri1
    and just added my hostname and my hostname1 to differentiate. When the
    interfaces came up, they went to broadcast instead of pointopoint so it all
    worked out. Thanks again for your insight.


    "Lon Stowell" <net> wrote in message
    news:nd4db.436847$.. [/ref]
    link. 
    >
    > You will have two physical interfaces
    > with the same IP address and confuse the heck out of any ethernet
    > switch.
    >
    > And both need to be resolvable.
    >
    > The format of hostname.eri0 is not IP address and hostname. Nor
    > can it be the same as any other hostname.eri*.
    >
    > For ease of admin, the hostname goes in the hostname.[ifname]
    > file, then put the IP address and hostname in /etc/hosts
    > if /etc/nsswitch is set to files and then nis, nis+, dns, or ldap.
    >
    >[/ref]


    Steve Guest

  6. #6

    Default Re: sys-unconfig

    Approximately 9/26/03 17:46, Steve W Kang uttered for posterity:
     

    I'm glad it fixed it, but to be honest have no idea why it would
    point both of them at localhost.

    Lon Guest

  7. #7

    Default Re: sys-unconfig

    Lon Stowell <net> wrote: 
     [/ref]
     

    I didn't see anywhere that he was talking about "localhost". However
    feeding two ip addresses into ifconfig will make it think that you're
    configuring ip addresses for both ends of a point to point link (rather
    than your connection to a broadcast domain).

    # ifconfig hme0:2
    hme0:2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 0.0.0.0 netmask 0
    # ifconfig hme0:2 10.0.0.4 10.0.0.5
    # ifconfig hme0:2
    hme0:2: flags=1000850<POINTOPOINT,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.0.0.4 --> 10.0.0.5 netmask ff000000

    That was happening because the startup scripts were feeding both
    addresses to the ifconfig line. Once the script went back to the proper
    format of a single address, the ifconfig used it differently.
    # ifconfig hme0:2 10.0.0.4
    # ifconfig hme0:2
    hme0:2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.0.0.4 netmask ff000000 broadcast 10.255.255.255


    --
    Darren Dunham com
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •