Create a loopback Interface

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Task Extreme?

Create a loopback Interface?
interface loopback 1
IP address 192.168.1.1 255.255.255.0

Create Interface vlan 101
IP address (loopback 1)

Interface vlan 102
IP address (loopback 1)

Interface vlan 103
IP address (loopback 1)

Example Cisco:
interface loopback 1
IP address 192.168.1.1 255.255.255.0
interface vlan 101
IP unnumbered loopback 1

Interface vlan 102
IP unnumbered loopback 1

Interface vlan 103
IP unnumbered loopback 1
Photo of Chubak Igor

Chubak Igor

  • 166 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Roberto F.

Roberto F.

  • 690 Points 500 badge 2x thumb
create a new vlan
and after configure loopbback on this vlan.

enable loopback-mode vlan name
Roberto
Photo of Chubak Igor

Chubak Igor

  • 166 Points 100 badge 2x thumb
ok.

create vlan "vlan101"
enable loopback-mode vlan vlan101
configure vlan vlan101 ipaddress 192.168.1.1 255.255.255.0
enable ipforwarding vlan vlan101

create vlan "vlan102"
configure vlan vlan102 tag 102
//Necessary
IP address loopback used on vlan
Photo of Chubak Igor

Chubak Igor

  • 166 Points 100 badge 2x thumb
Cisco: example
Interface vlan 102
IP unnumbered loopback 1

Extreme???????????????
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,764 Points 10k badge 2x thumb
IP unnumbered is not supported on EXOS.
For a loopback, you want to have a /32 (IPv4).
Photo of An-Tin Liu

An-Tin Liu

  • 478 Points 250 badge 2x thumb
can i ask a question? why to do that?
Photo of Chubak Igor

Chubak Igor

  • 166 Points 100 badge 2x thumb
one IP address to several vlan
Photo of Daniel Flouret

Daniel Flouret, Employee

  • 7,470 Points 5k badge 2x thumb
Igor,

Each vlan has to have its own ip address. If you want to have a loopback address for the whole switch then:
  • Select one of the vlans in the switch and enable loopback-mode
  • assign loopback ip address
  • assign ip addresses to all other vlans
  • enable ipforwarding in all vlans
If you want to have a loopback IP address that does not belong to any of the existing vlans, just create a vlan with no ports, enable loopback-mode and assign an ip address.
Photo of Chubak Igor

Chubak Igor

  • 166 Points 100 badge 2x thumb
DHCP
server dhcp-pull 192.168.1.0/24 vlan 102
server dhcp-pull 192.168.2.0/24 vlan 103

vlan-102 120 subscribers
vlan-103 250 subscribers

I want to make
server dhcp-pull 192.168.1.0/23 vlan 101

create vlan "vlan101"
enable loopback-mode vlan vlan101
configure vlan vlan101 ipaddress 192.168.1.1 255.255.254.0
enable ipforwarding vlan vlan101

create vlan "vlan102"
configure vlan vlan102 tag 102
#use the ip address vlan 101
#cisco: ip unnumbered

create vlan "vlan103"
configure vlan vlan103 tag 103
#use the ip address vlan 101
#cisco: ip unnumbered

extreme???
(Edited)
Photo of Daniel Flouret

Daniel Flouret, Employee

  • 7,470 Points 5k badge 2x thumb
Igor,

That's not possible. DHCP server only serves the vlan it belongs to. And each vlan has to have its own IP address.
Photo of Vladimir Chukov

Vladimir Chukov

  • 100 Points 100 badge 2x thumb