Re: 2 subnet on 1 physical interface

From: jean-françois suret (jf.suret@gmail.com)
Date: Wed Apr 26 2006 - 09:31:19 EDT


Hello all and thanks for responding ;-)

I didn't explain everything :

This configuration will be for migration purpose, both subnet will be in the
same VLAN and my router will have a secondary IP.

So in fact what I need to know is if it is possible on sun to declare a
"secondary IP" that will be on the same VLAN (layer 2) than the first one
but in an other subnet (layer 3).

Even if it sounds strange Layer 2 is ethernet and there are no trouble to
put 2 different subnet on the same VLAN (try with a switch put 4 computer
separated on 2 different subnet, 1 and 2 will see each other on IP layer and
3 and 4 )

Thanks ! :)

JF

2006/4/26, lucien.hercaud@sgcib.com <lucien.hercaud@sgcib.com>:
>
> I would plumb ce0:1 for the new subnet
>
> (Embedded image Lucien Hercaud
> moved to file: SGCIB Paris Unix server team - System Engineer and
> Project
> pic17282.gif) Manager for IBD
> phone : +33.1.42.13.48.45 | cel : +33.6.09.44.28.80 |
> fax :
> +33.1.42.13.09.84
> intranet : http://unxdoc | e-mail:
> lucien.hercaud@sgcib.com
>
> (Embedded image moved to file: pic27007.gif)
>
>
>
>
>
>
> |---------+----------------------------------->
> | | jf.suret@gmail.com |
> | | Sent by: |
> | | sunmanagers-bounces@sunm|
> | | anagers.org |
> | | |
> | | |
> | | 26/04/06 14:40 |
> | | |
> |---------+----------------------------------->
>
>
>----------------------------------------------------------------------------
-------------------------------------------------|
> |
> |
> | To: sunmanagers@sunmanagers.org
> |
> |
> cc:
> |
> | Subject: 2 subnet on 1 physical
> interface
|
>
>
>----------------------------------------------------------------------------
-------------------------------------------------|
>
>
>
>
> Hello,
>
> I am looking for a solution to put 2 IP adresses of 2 different subnet on
> the same physical interface :
>
> etc/hostname.ce0
> 192.168.0.1 netmask + broadcast + up
> addif 10.0.0.1 netmask + broadcast + up
>
> Is this going to work ?
>
> If yes can I do something like :
>
> */etc/hostname.ce0*
>
> *192.178.1.119 netmask + broadcast + group prod -failover deprecated up*
>
> *addif* 192.178.1.120 netmask + broadcast + up
>
> addif 192.178.1.121* netmask + broadcast + up*
>
> *addif 10.98.7.224 netmask + broadcast + group prod2 -failover deprecated
> up
> *
>
> *addif 10.98.7.220 netmask + broadcast + up*
>
> *addif 10.98.7.222 netmask + broadcast + up*
>
> **
>
> */etc/hostname.qfe0*
>
> *192.178.1.78 netmask + broadcast + group prod -failover deprecated
> standby
> up*
>
> *addif 10.98.7.226 netmask + broadcast + group prod2 -failover deprecated
> standby up*
>
> **
>
> *Thanks !*
>
> **
>
> *JF*
>
> * *
>
> **
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
>
> *************************************************************************
> This message and any attachments (the "message") are confidential and
> intended solely for the addressee(s).
> Any unauthorised use or dissemination is prohibited. E-mails are
> susceptible to alteration.
> Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall
> be liable for the message if altered, changed or falsified.
> ************
> Ce message et toutes les pieces jointes (ci-apres le "message") sont
> confidentiels et etablis a l'intention exclusive de ses
> destinataires. Toute utilisation ou diffusion non autorisee est interdite.
> Tout message electronique est susceptible d'alteration.
> La SOCIETE GENERALE et ses filiales declinent toute responsabilite au
> titre de ce message s'il a ete altere, deforme ou falsifie.
> *************************************************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:41 EDT