Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Virtual IP adresses
@ 2007-08-17 11:12 Norbert
  2007-08-21 19:44 ` Doesnt Compute
  0 siblings, 1 reply; 3+ messages in thread
From: Norbert @ 2007-08-17 11:12 UTC (permalink / raw)


Hi!
How to add/modify/remove virtula IP adresses?
Tnx in advance



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Virtual IP adresses
  2007-08-17 11:12 Virtual IP adresses Norbert
@ 2007-08-21 19:44 ` Doesnt Compute
  2007-08-22 12:00   ` Norbert
  0 siblings, 1 reply; 3+ messages in thread
From: Doesnt Compute @ 2007-08-21 19:44 UTC (permalink / raw)


On Aug 17, 6:12 am, Norbert <vek...@gmail.com> wrote:
> Hi!
> How to add/modify/remove virtula IP adresses?
> Tnx in advance

In case no one sent you info, if you are wanting additional IP on top
of one interface, such that you have a primary IP and (many) secondary
IPs, then in Tru64 you would use "alias" or "aliaslist:"

(from "man ifconfig")
 8.  To add alias 132.50.40.35 with a netmask of 255.255.255.0 in CIDR
for-
       mat to interface tu0, enter:
            # ifconfig tu0 alias 132.50.40.35/24

   9.  To add network addresses 40 through 50, inclusive, to subnets
       18.240.32, 18.240.33, 18.240.34, 18.240.35, and 18.240.36 with
a net-
       mask of 255.255.255.0 in CIDR format to the tu0 interface,
enter:
            # ifconfig tu0 aliaslist 132.240.32-36.40-50/24

   10. To add network addresses 40 through 50, inclusive, to subnets
       18.240.32, 18.240.64, and 18.240.96 with a netmask of
255.255.255.0 in
       CIDR format to the tu0 interface, enter:
            # ifconfig tu0 aliaslist 132.240.32,64,96.40-50/24

This forms the SECONDARY addressing.  Primary is added the normal
way.  I find it easier to setup the primary using the rc files as
normal, and then in /sbin/rc3.d/S99secondary_ip  (a file I create) add
the above entries for any/all adapters and secondary IP.  Note you may
need to make changes to Apache/Samba/Squid configs, as well as others
when adding IPs.

Hope this helps.

-robert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Virtual IP adresses
  2007-08-21 19:44 ` Doesnt Compute
@ 2007-08-22 12:00   ` Norbert
  0 siblings, 0 replies; 3+ messages in thread
From: Norbert @ 2007-08-22 12:00 UTC (permalink / raw)


On 21 kol, 21:44, Doesnt Compute <doesntcomput...@gmail.com> wrote:
> On Aug 17, 6:12 am, Norbert <vek...@gmail.com> wrote:
>
> > Hi!
> > How to add/modify/remove virtula IP adresses?
> > Tnx in advance
>
> In case no one sent you info, if you are wanting additional IP on top
> of one interface, such that you have a primary IP and (many) secondary
> IPs, then in Tru64 you would use "alias" or "aliaslist:"
>
> (from "man ifconfig")
>  8.  To add alias 132.50.40.35 with a netmask of 255.255.255.0 in CIDR
> for-
>        mat to interface tu0, enter:
>             # ifconfig tu0 alias 132.50.40.35/24
>
>    9.  To add network addresses 40 through 50, inclusive, to subnets
>        18.240.32, 18.240.33, 18.240.34, 18.240.35, and 18.240.36 with
> a net-
>        mask of 255.255.255.0 in CIDR format to the tu0 interface,
> enter:
>             # ifconfig tu0 aliaslist 132.240.32-36.40-50/24
>
>    10. To add network addresses 40 through 50, inclusive, to subnets
>        18.240.32, 18.240.64, and 18.240.96 with a netmask of
> 255.255.255.0 in
>        CIDR format to the tu0 interface, enter:
>             # ifconfig tu0 aliaslist 132.240.32,64,96.40-50/24
>
> This forms the SECONDARY addressing.  Primary is added the normal
> way.  I find it easier to setup the primary using the rc files as
> normal, and then in /sbin/rc3.d/S99secondary_ip  (a file I create) add
> the above entries for any/all adapters and secondary IP.  Note you may
> need to make changes to Apache/Samba/Squid configs, as well as others
> when adding IPs.
>
> Hope this helps.
>
> -robert

Tnx!
It helped a lot!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-22 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 11:12 Virtual IP adresses Norbert
2007-08-21 19:44 ` Doesnt Compute
2007-08-22 12:00   ` Norbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox