From: chas w. - C. <ch...@cm...> - 2011-07-15 17:02:38
|
On Fri, 15 Jul 2011 08:33:15 -0700 "Sjoberg, Jon" <Jon...@go...> wrote: > I'm trying to configure multiple IP addresses on the same physical ATM > interface and VP. In the system I have I need to be able to configure > PVCs for all of the following on the same physical ATM interface: > - Have two IP addresses in the same subnet but different PVC's > - Have one IP address on a different subnet then the two above, also > with its own PVC > - Have multiple PVC's per IP address, each PVC to a different IP address > - Have multiple AAL5 PVC's on the interface > > For example I have the following PVCs, on one physical ATM interface: > ENCODING IP VCI > IPOA 10.20.30.1 100 > IPOA 10.20.30.2 101 > IPOA 192.168.20.1 103 > AAL5 ----- 104 > > What commands would I need to get this through ATMAPR/ifconfig/etc.? > > I have tried using virtual interfaces (e.g. "atm0:0"), but the atmarp > program does not seem ready for that so I suspect that was not the right > way to go. you probably want to use br2684ctl instead of atmarp. first/second case you will likely need use routed mode on br2684ctl so you can create a pointopoint ip interface and then use ifconfig to setup the endpoints on each ip interface. something like: br2684ctl -c 1 -p 0 -a 0.0.100 & br2684ctl -c 2 -p 0 -a 0.0.101 & ifconfig nas1 10.20.30.99 pointopoint 10.20.30.1 ifconfig nas2 10.20.30.99 pointopoint 10.20.30.2 the third case: br2684ctl -c 3 -p 0 -a 0.0.103 & ifconfig nas3 192.168.20.2 pointopoint 192.168.20.1 the last case should be explain simply enough by the man page. however, it is bridge mode not routed (-p 1). you can still do this with atmarp and a clip interface however you dont need to worry about atm0:0. you can assign multiple ip address to the same ip interface using the 'ip' command. |