Assigning host route to loopback

From: John Kristoff (jtk_at_northwestern.edu)
Date: 02/16/04

  • Next message: Alan W. Rateliff, II: "Re: Limit NFS on network adapter"
    Date: Mon, 16 Feb 2004 14:49:20 -0600
    To: focus-sun@securityfocus.com
    
    

    I'm attempting to assign a /32 IP address to lo0:1 on a Solaris 8 box and
    am having some difficulty. Hopefully someone here can point me in the
    right direction.

    I don't seem to be able to set the netmask for an IP to 255.255.255.255
    in the /etc/inet/netmasks file. This IP is out of a larger /24, of which
    I've used a /26 on a physical dmfe0 interface. So I want things to look
    something like this:

                                                .-----------------------.
                                                | lo0 127.0.0.1/8 |
      192.0.2.1/26 gw <-- dmfe0:192.0.2.10/26 - + |
                                                | lo0:1 192.0.2.254/32 |
                                                `-----------------------'

    Setting up the interface via ifconfig will get the netmasks I want, but
    I would prefer to store this in the configuration files if possible,
    particularly since I want the configuration to survive across restarts.
    I had set lo0:1 to 192.0.2.65 with a mask of 255.255.255.252 successfully
    so I know VLSM is working at least in part. I've also tried using an
    entirely different IP and a 255.255.255.255 mask, but that didn't appear
    to be any more successful.

    Is the only way to get this configuration to run something like:

      ifconfig lo0 addif 192.0.2.254/32 up

    in a startup script or am I missing? Thanks in advance for any assistance,

    John


  • Next message: Alan W. Rateliff, II: "Re: Limit NFS on network adapter"

    Relevant Pages

    • Assigning host routes to loopback
      ... particularly since I want the configuration to survive across restarts. ... entirely different IP and a 255.255.255.255 mask, ... to be any more successful. ... ifconfig lo0 addif 192.0.2.254/32 up ...
      (comp.unix.solaris)
    • Re: [SLE] SUSE 9.1, Samba 3.0.4-1.2 and Windows NT Domain
      ... Here is the configuration: ... printer admin = @ntadmin, root, administrator ... create mask = 0600 ... >> WINS servers. ...
      (SuSE)
    • Management Point Problems
      ... CMPControlManager::WriteToCCMSettings: Successful.~ $ ... RegisterWithWINS: EnumerateLANAsreturned 0x0~ $ ... Getting the CLR Enabled value from the configured SQL database. ... The configured SQL database has the CLR Enabled configuration setting ...
      (microsoft.public.sms.setup)
    • ISA RAS configuration??
      ... I have a question about ISA VPN configuration. ... Ethernet adapter Internal: ... The router where the ISA external card is connected is 192.168.100.2. ... mask 255.255.255.0 ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: AD to ADAM Syncing - How can I not bring over the containing OU to ADAM
      ... Lee, I decided to allow it to create a sub OU and I brought the users ... over successfully. ... based on the configuration file below. ... users are under in AD is also created under the OU in ADAM. ...
      (microsoft.public.windows.server.active_directory)