Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Friday, 21 June 2013

การสร้าง Sub Interface บน Linux (CentOS)

How to create Sub Interface

1. Install vlan packet
ubuntu# apt-get install vlan

2. Create Sub-Interface
# /sbin/vconfig add [interface] [vlan_id]
ex. /sbin/vconfig add eth0 100

3.  on Interface
# ifconfig eth0.100 up
_________________________
การสร้าง sub-interface (vlan tag บน physical interface) บน Linux สามารถทำได้โดยใช้คำสั่ง /sbin/vconfig สำหรับทำให้เครื่องรู้จักกับ vlan ที่ต้องการ

ตัวอย่างการเพิ่ม sub-interface
/sbin/vconfig add eth0 vlan 100
/sbin/ifconfig eth0.100 up

ตัวอย่างการลง sub-interface
/sbin/vconfig rem eth0.100

Import SSH Private Key to Yubikey (PIV) for SSH Authentication

Introduction: This guide will walk you through the process of importing your SSH private key to a Yubikey (PIV) for SSH authentication on y...