Re: (PM) 2 networks in the same wire

Jean-Francois Laplante (jeff@bbsi.net)
Fri, 29 May 1998 13:14:22 -0400

At 10:35 98-05-29 -0500, you wrote:
>On Thu, 28 May 1998, Carlos A. Niebla B. wrote:
>
>> Hello
>>=20
>> How do I manage to get 2 different networks (that use the portmaster
>> as the gateway) talk to each other?
>>=20
>> In Cisco, I simply use a secondary interface, but what can I use in
>> the PM?
>
>You cant set up a 2ndary address on the portmaster products yet, but what
>if you just added a static route in the portmaster that points to the 2nd
>subnet?

On the PM3 with the 3.8+ betas, you can do that. I'm using it right now.

Here's the relevent text from the release files:

Ethernet Subinterfaces

Multiple logical Ethernet interfaces are now allowed on one Ethernet port,
for situations that require them.

The MAC address for subinterfaces is the same as for the primary interface.
IPX, RIP, OSPF, packet filtering, and route propagation are not supported
on the subinterfaces.

Example:

add subinterface <Name>
delete subinterface <Name>
show subinterface
show table subinterface
set subinterface <Name> port <Portlabel>
set subinterface <Name> address <Ipaddress> | <Ipaddress>/<NM>
set subinterface <Name> netmask <Netmask>
set subinterface <Name> broadcast high | low
=20
add subinterface <Name>
=20
This command adds a subinterface entry to the subinterface table. The
Name is used to reference the subinterface configuration in the
subinterface table, and has a maximum length of 11 characters.
It is not the name of the interface or the port the subinterface is
associated with.

Command> add subinterface enet2
New subinterface enet2 successfully added

delete subinterface <Name>

This command removes a subinterface entry from the table.

show subinterface show table subinterface

This command displays the subinterface table.

Command> show subinterface Subinterface Interface Addr
Netmask Broadcast Addr Port Name ------------
---------------- ---------------- ---------------- ---------
enet2 192.168.55.6 255.255.255.0 192.168.55.255 ether0

set subi <Name> port <Portlabel>
=20
This command associates the subinterface configuration with a
physical port.
=20
Command> set subinterface enet2 port ether0
enet2 changed from to ether0
=20
set subinterface <Name> address <Ipaddress> | <Ipaddress>/<NM>
=20
This command sets the IP address or an IP address and netmask for the
subinterface configuration.
=20
Command> set subinterface enet2 address 192.168.55.6
enet2 changed from 0.0.0.0 to 192.168.55.6
=20
Command> set subinterface enet2 address 192.168.55.6/27
enet2 changed from 192.168.55.6/24 to 192.168.55.6/27
=20
set subinterface <Name> netmask <Netmask>
=20
This command sets the netmask in dotted decimal notation for the
subinterface configuration. This command is not needed if the netmask
is set using the classless interdomain routing (CIDR) notation (/xx) in
the previous command.

Command> set subinterface enet2 netmask 255.255.255.0=20
enet2 netmask changed from 0.0.0.0 to 255.255.255.0

set subinterface <Name> broadcast high | low

This command sets the broadcast address for the subinterface.

Command> set subinterface enet2 broadcast high
enet2 broadcast address changed from low to high

ifconfig
=20
The new subinterface is displayed in the "ifconfig" output. The interface
name is system generated.
=20
Command> ifconfig
ether0: flags=3D16<IP_UP,IPX_DOWN,BROADCAST,OSPF>
inet 172.16.110.68 netmask fffffff0 broadcast 172.16.110.64
area 0.0.0.64 ospf-state DROTHER mtu 1500
et01: flags=3D106<IP_UP,IPX_DOWN,BROADCAST,PRIVATE>
inet 192.168.55.6 netmask ffffff00 broadcast 192.168.55.255 mtu 1500

Hope this helps.

------------------------------------------------------------
INTERNET - BBSI Inc. + 141 Regnault
Jean-Francois Laplante + Sept-Iles (Qu=E9bec)
jeff@bbsi.net + G4R 4M4

http://www.bbsi.net + 418-968-4433 voix/voice
+ 418-968-5634 fax=20
Internet Service Provider + Fournisseur de Service Internet
------------------------------------------------------------
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>