Cara Configurasi MikroTik + Ubuntu Server 20 Simpel VLAN Routing

 

-----Router MikroTik-----


/ip address

add address=192.168.223.1/30 interface=vlan223 network=192.168.223.0

add address=192.168.222.1/30 interface=vlan222 network=192.168.222.0



/interface vlan

add interface=ether10 name=vlan222 vlan-id=222

add interface=ether10 name=vlan223 vlan-id=223


-----Ubuntu Server 20-----



network:

    version: 2

    ethernets:

        ens18:

            addresses:

                - 192.168.111.10/24

            gateway4: 192.168.111.1

            nameservers:

                addresses: [192.168.111.1]


    vlans:

        vlan101:

            id: 222

            link: ens18

            addresses: [192.168.222.2/30]

        vlan102:

            id: 223

            link: ens18

            addresses: [192.168.223.2/30]

#netplan apply

apply configurasi kemudian reboot mesin ubuntu anda

#shutdown -r now

Semoga Bermanfaat

Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Configurasi MikroTik + Ubuntu Server 20 Simpel VLAN Routing"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel