2013년 7월 3일 수요일

Ubuntu 13.04 - hostname 변경

ubuntu 13.04 hostname 변경 하기




위의 hostname 파일의 내용을 변경하면 hostname 이 변경된다.

실제 프롬프트에 적용은 다음 로그인 부터 된다.

우분투에서 telnet, SSH 및 ftp 설치

우분투에서 telnet, SSH 및 ftp 설치


1. Telnet 설치하기

- Telnet 설치
sudo apt-get install xinetdsudo apt-get install telnetd


- telnet 설정파일 (xinetd 설정 추가)
$ sudo vi /etc/xinetd.conf (아래 내용을 추가한다.)
service telnet
{     disable = no     flags = REUSE
     socket_type = stream     wait = no     user = root     server = /usr/sbin/in.telnetd     log_on_failure += USERID}

- xinetd 데몬 재구동 
$ sudo /etc/init.d/xinetd restart



2. FTP 설치하기

- vsftpd 설치
$ sudo apt-get install vsftpd

- vsftpd.conf 파일 수정
$ vi /etc/vsftpd.conf

anonymous_enable=NO
local_enable=YES  의 주석 삭제
write_enable=YES 의 주석 삭제

- FTP 데몬 재구동
$ sudo /etc/init.d/vsftpd restart



3. SSH 설치하기

- ssh 설치
$ sudo apt-get install ssh
** 우분투 시냅틱 패키지 관리자에서 SSH를 설치하면 openssh-server와 ssh 가 함께 설치된다.

- ssh 설정파일
$ sudo vi /etc/ssh/sshd_config

- ssh 데몬 재구동
$ sudo /etc/init.d/ssh restart


4. 서버 작동 확인
citylock@vmubuntu:~$ netstat -ntl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
citylock@vmubuntu:~$ 

Port 21 : FTP
Port 22 : SSH
Port 23 : Telnet
 

 

2013년 6월 27일 목요일

Ubuntu 13.04 설치 USB 만들기 - UNetBootin

부팅 USB 만들기 - UNetBootin

1. unetbootin 다운로드

아래 사이트에 들아면 OS버전(Linux, Window, Mac)에 따라 다운로드할수 있다.
파일 용량이 크지 않아서 바로 다운로드 가능하다.

http://unetbootin.sourceforge.net/

2. Unetbootin 실행


USB 인스톨 CD를 만들기 위해서는 2가지 방법이 있다.

- 방법 1. Distribution
  따로 이미지를 다운로드하지 않고 네트워크 인스톨을 할수 있다.
  다양한 버전의 배보판 링크가 있으므로 원하는 버전을 선택만 하면 된다.

- 방법 2. Diskimage
 다운로드 받은 이미지를 이용해서 USB 부팅 디스크를 만들수 있다. 설치하고자 하는 리눅스 이미지 경로를 지정해서 실행하면 된다.

우분투  다운로드 : http://www.ubuntu.com
설치 이미지 : ubuntu-13.04-desktop-amd64 ( version 13.0, 64bits )

3. 완료 및 실행

- 컴퓨터의 부팅순서를 USB를 처음으로 설정후
  시스템을 다시 시작해주면 된다.


참고 : http://blog.naver.com/niam1011?Redirect=Log&logNo=140188702087

2013년 6월 25일 화요일

파일의 위/변조를 확인하기 위한 툴 소개 - MD5 Checksum Verifier

파일 MD5 체크섬 만들기 및 체크 / MD5 Checksum Verifier

 MD5 Checksum Verifier는 MD5 알고리즘(MD5 Algorithm)을 이용해 파일 정확도를 체크 할 수 있는 MD5 체크섬을 만들거나 폴더 전체 체크 파일 만들기가 가능한 프로그램입니다. 또한 간단한 인터페이스로 구성되어 쉽게 이용 할 수 있습니다.
 
파일 MD5 체크섬 만들기 및 체크하기

 
  파일 MD5 체크섬은 주로 인터넷에서 어떤 파일을 다운로드 받았을 때 파일의 크기가 올바른지, 제대로 된 파일인지를 확인하기 위해 사용됩니다. 

 
MD5 체크섬 만들기, MD5 체크섬 체크, MD5 Checksum Verifier
  프로그램을 실행하면 Calculate file MD5, Make check file, Verify check file 메뉴가 나타납니다. Select Files to calculate MD5를 눌러서 파일을 선택하면 MD5 체크섬을 확인 할 수 있습니다. 

   Make check file은 체크섬 파일을 만들 때 사용됩니다. 폴더를 선택하고 Include sub folders를 체크하면 해당 폴더와 하위 폴더들의 파일을 전부 검사 해서 md5 파일을 만들어줍니다.

   Verify check file은 만들어 둔 md5 파일을 이용해서 변동 된 내용이 없는지 알아 내는데 사용합니다. md5 파일을 불러오면 몇 개의 파일이 변경 되었는지 알 수 있습니다.

2013년 6월 17일 월요일

Visual Studio 2010을 이용해서 개발 환경 만들기


Visual Studio 2010 SVN plug in 설정
                link  :http://pelican7.egloos.com/2943260
Visual Studio 2010 SVN 연동
                link : http://pelican7.egloos.com/2943261

위 내용을 보고 Visual Studio 2010 에 SVN 플러그인을 설치하고, 

VS 2010 과 SVN을 연동하여 개발하면 된다. 


2013년 6월 4일 화요일

소스인사이트 활용팁

소스인사이트 활용팁

단축키
내용
Ctrl + =
Ctrl + 왼쪽 마우스 버튼
변수 및 함수에 커서를 위치시키고 이 키를 누르면 해당 선언문으로 이동
Ctrl + 0
우측 파일창으로 이동
Alt + L
좌측 함수창으로 이동
F7
프로젝트 전체에서 특정함수나 변수 등을 검색
F8
현재 파일에서 특정함수나 변수 등을 검색
F5
해당 라인으로 이동
Alt + <
Alt + >
이전/이후에 커서가 위치했던 곳으로 이동
Ctrl + F
현재 파일 내에서 검색
F3 : 이전 검색 부분으로 이동
F4 : 다음 검색 부분으로 이동
Alt + 드래그
블록 단위로 선택
Ctrl + L
라인 번호 표시
Ctrl + M
북마크
Ctrl + H
치환
Ctrl + W
현재 파일 닫기
Ctrl + Shift + W
모든 파일 닫기
Ctrl + S
현재 파일 저장
Ctrl + A
모든 파일 저장
Ctrl + /

해당 심볼로 프로젝트 전체범위로 검색
Shift + F9 : 검색결과에서 다음검색으로 이동한다.
Ctrl + ,
이전편집장소로 이동
Shift + F8
파일심볼창 보이기/숨기기
Alt + T
문서 옵션(글꼴 )
자료출처 : http://kevinx64.tistory.com/276


2013년 5월 30일 목요일

FTP 다운로드 받을때 Permittion Deny 가 발생하는 경우


FTP 다운로드 받을때 Permittion Deny 가 발생하는 경우

1. 원본 파일에 read 권한이 없는 경우
2. 파일이 저장된 디렉토리의 write 권한이 없는 경우



chmod 로 파일 권한을 변경하거나,
chown 명령을 통해서 저장 디렉토리의 소유자를 root 에서 user 로 변경 처리한다.

VI를 이용한 개발 환경 만들기

VI를 이용한 개발 환경 만들기


1. VI 설정 

.vimrc 파일 ======================= 
syntax on
set title
set autoindent
        set si      "Smart indent
set background=light
"set nu
colo default
color evening
set shiftwidth=4
set ts=4
"map <F2> : w
map <F3> : 30vs ./           "seperate windows
map <F4> : P
"map <F2> : w
"map <F2> : w
"map <F2> : w


2. 

2013년 5월 22일 수요일

static 와 extern 의 차이


3.1 static


static(정적)함수는 소스 코드에서 은폐성을 높이기 위해 매우 중요한 요소이지만, 널리 알려져
있지 않은 단어라고 할 수 있다.


만약 2. 선언에 있는 소스코드 중에서 init.c의 코드의 정의를

static void init(){...}

와 같이 static을 붙이면 어떻게 될까? 그렇다 함수의 선언 및 정의에 static을 붙일 경우에는
해당 함수의 접근은 해당 파일내로 제한하게 된다. inic.c에 static을 붙이고 컴파일을 할 경우에

는 해당 함수가 정의되지 않았다는 메시지와 함께 에러가 발생하게 된다.

다시 말하면, 함수를 static으로 정의하면 그 파일 내에서만 통용되는 완전한 지역(local)함수로 

취급할 수 있으며, 아래와 같은 이점이 있다.

다른 파일과 함수명의 충돌이 있을지 걱정하지 않아도 된다.

다른 파일에서는 그 함수를 호출하지 않는 것이 보장된다.


3.2 extern


아래와 같은 함수가 있으면,
int Test(int i)
{
     return i;
}


함수 Test는 외부에 공개 되어있으며 다른 파일에서의 접근이 허용이 된다는 의미가 된다.

즉 외부함수 또는 전역함수라는 말이 된다.

만약 다른 소스파일에서 Test함수를 호출하려고 할때, 해당 파일 내에서는 함수 Test함수의 인

자와 반환형식을 알고 있어야되는데 이때 extern을 붙여주면 된다.
extern int Test(int i);
또는
int Test(int i); // extern 생략 가능

함수의 경우에는 default로 전역함수가 되므로 extern은 생략해도 된다.

3.3 변수에 대한 static & extern



변수의 경우에도 함수와 마찬가지로 파일 외부로 공개 유무에 따라서 static 또는 extern을 사용한다.


하지만 여기에는 함수에서 사용할때와는 조금 차이가 있으니 확인하도록 하자.


아래와 같이 함수내에서 static을 사용했을 경우에는 범위는 함수안에서만 유효범위가 된다. 함수 외부에서의 접근은 거부 된다. 
void Test()
{
    static int test_value = 0;
    int test = 1;
}

이외의 static이 붙은 변수와 함수내의 지역변수와의 차이점은 C언어 기본서를 참고하기 바란다.

함수외부에서 선언된 static변수의 경우는 해당 파일내로 접근 범위가 제한이 되며, 외부에서의 접근을


할 수 없다.
static int test = 1;
int GetValue()
{
return test;
}

void SetValue(int value)
{
test = value;
}


외부에서 접근이 제한되므로 Get/Set함수를 통해서 해당 변수를 제어하도록 하자.


변수의 경우도 extern을 선언함으로써 다른 파일에서 정의된 변수의 형식을 컴파일러에게 알려줄 수 있다.
extern int test;

int main()
{
printf("Value: %d\n", test);
return 0;
}


위와 같이 extern을 붙여 주어서 외부에 선언된 변수가 있다는 것을 알릴수 있다. 하지만 해당 변수에


static형일 경우에는 해당 변수를 발견할 수 없다는 메시지와 함께 에러가 발생하게 된다.


아래는 변수 공개의 예제 코드이다.


<test.c>
int test = 1;


<main.c>
#include <stdio.h>

extern int test;
int main(void)
{
printf("Test Value: %d\n", test);
return 0;
}


3.4 참고
변수

static: 변수 정의(파일 외부에 공개하지 않음)
없음: 변수 정의(파일 외부에 공개함)
extern: 변수 선언(정의는 없음)
함수 정의

static: 파일 외부에 공개하지 않음
없음: 파일 외부에 공개함
extern: 파일 외부에 공개함
함수의 원형 선언

static: 공개하지 않는 함수의 원형 선언(같은 파일내에)
없음: 공개하는 함수의 원형 선언
extern: 공개하는 함수의 원형 선언


< 참고: 쉽게 배우는 C프로그래밍 테크닉(p51) >

#if 1 #else #endif 를 이용하여 주석처리

#if 1 #else #endif 를 이용하여 주석처리


#if 1 /* new */
    rtn = Popen(command_path,"w", &status);
    if(rtn != 0)
    {
        memset(temp, 0, SIZE_32);
        sprintf(temp,"/tmp/%s",job_name);
        unlink(temp);
#ifdef DEBUG
PRINT(LOG_PRINTE, MSQ_CLI, -1)("there is not /user/bin/wrapper/scheduler_wrapper\n");
#endif
        return ABORT_FAILED;
    }

#else /* old */

    fd = popen(command_path,"w");
    i = pclose(fd);
    i = i >> 8;
#ifdef DEBUG
PRINT(LOG_PRINTE, MSQ_CLI, -1)("return value : %d\n",i);
#endif
    if(i == 127)
    {
        memset(temp, 0, SIZE_32);
        sprintf(temp,"/tmp/%s",job_name);
        unlink(temp);
#ifdef DEBUG
PRINT(LOG_PRINTE, MSQ_CLI, -1)("there is not /user/bin/wrapper/scheduler_wrapper\n");
#endif
        return ABORT_FAILED;
    }
#endif /* end */

* old 부분은 컴파일이 되지 않는다...
이것을 이용하면...프로그램밍 할때....예전것을 지우지 않고 할수 가 있따....
old 부분을 살리고 new를 주석 처리 하고 싶으면...
#if 1 이 부분을 0으로 하면 new가 주석처리 효과를 가지고 올수 있다...
프로그래밍 하기가 점점 쉬워지고 있는것 같다..ㅋㅋㅋ

#ifdef, #ifndef, #endif 에 대한 해석

#ifdef, #ifndef, #endif

C프로그램을 보면 위와 같은 전처리기를 많이 본다.

#ifdef DEBUG
~~~~~~~~~~~
#endif


그대로 해석하자면 DEBUG 가 #define 에 의해서 선언되어 있다면
~~~~~~~~~~~

를 실행해라! 라는 의미 입니다.


그리고 #ifndef 는 DEBUG 가 선언되어 있지 않으면 아래 내용을 실행해라..



일단 예제를 알려드리도록 하지요.

#define _DEBUG

#include <stdio.h>

void main()

{

#ifdef _DEBUG

printf("디버그 모드\n");

#endif

#ifndef_DEBUG
printf("일반 모드\n");

#endif

}

이렇게 쓰입니다.

실행을 해보셔서 #define _DEBUG 를 주석처리(// ) 시켜본것과 그냥 실행 시킨것과 비교해보시면 확연히 차이날것입니다.

[출처] #ifdef, #ifndef, #endif|작성자 maker dark98




2013년 5월 15일 수요일

2013년 5월 14일 화요일

Research for VoLTE overhead

Research for VoLTE overhead

Voice over IP - WLAN, 3G and LTE issues
http://www.mehrpouyan.info/Projects/Group%2013.pdf


Abstract—The aim of this paper is to give a basic introduction on VoIP- WLAN, 3G and LTE issues, and
thoroughly describe QoS, problems in different wireless network techniques and scenarios to get the best quality in real-time. The attention is focused on the Quality of Service in three different wireless networks, so, there will be proposed some solutions to improve these issues.


2013년 4월 30일 화요일

Installing NS-3 in Ubuntu 12.04



Installing NS-3 in Ubuntu 12.04


If you are reading this post, then I presume you already know what NS-3 is. I am going to skip the details and will show you how to install and configure NS3 in Ubuntu 12.04. For more details, see the detailed installation guide here.
Open a terminal and run the following commands to install the list of required packages (you may not need all the packages):
sudo apt-get install gcc g++ python              
sudo apt-get install gcc g++ python python-dev
sudo apt-get install mercurial
sudo apt-get install bzr
sudo apt-get install gdb valgrind 
sudo apt-get install gsl-bin libgsl0-dev libgsl0ldbl
sudo apt-get install flex bison libfl-dev
sudo apt-get install g++-3.4 gcc-3.4
sudo apt-get install tcpdump
sudo apt-get install sqlite sqlite3 libsqlite3-dev
sudo apt-get install libxml2 libxml2-dev
sudo apt-get install libgtk2.0-0 libgtk2.0-dev
sudo apt-get install vtun lxc
sudo apt-get install uncrustify
sudo apt-get install doxygen graphviz imagemagick sudo apt-get install texlive texlive-extra-utils texlive-latex-extra
sudo apt-get install python-sphinx dia
sudo apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev
sudo apt-get install libboost-signals-dev libboost-filesystem-dev
sudo apt-get install openmpi*
 
You can either download and build development version or get a tarball directly and untar it.  I would recommend you to choose the second option initially.

Option 1: Using Mercurial

cd
mkdir repos
cd repos
hg clone http://code.nsnam.org/ns-3-allinone

Option 2: Downloading NS-3 using a tarball

cd
mkdir tarballs
cd tarballs wget
http://www.nsnam.org/release/ns-allinone-3.13.tar.bz2
tar xjf ns-allinone-3.13.tar.bz2
 
To build your NS-3, run the following command:
./build.py
Configuration with Waf:
./waf distclean
./waf configure    // (or use this > ./waf configure –enable-examples –enable-tests)
./waf build
Now, test your installation using:
./test.py   // or use this ( if you want to test core modules only) > ./test.py -c core
 
Get ready to run your  program. You need waf (a python based framework designed for configuring, compiling and installing applications). Use the following command to run your program:
./waf – -run filename
Your program must be in /scratch directory, because when you run waf they are build at the same time. For example, I am copying a myfirst.cc from a example directory to scratch directory to run the program. Go to your ns directory and run the command to copy, configure and run:
 
cp examples/tutorial/first.cc scratch/myfirst.cc
./waf
./waf –run scratch/myfirst
If you do everything correctly, you should be able to see the following in your command line.
Waf: Entering directory ‘/home/user/repos/ns-3-allinone/ns-3-dev/build’
Waf: Leaving directory ‘/home/userrepos/ns-3-allinone/ns-3-dev/build’
’build’ finished successfully (1.175s)
Sent 1024 bytes to 10.1.1.2
Received 1024 bytes from 10.1.1.1
Received 1024 bytes from 10.1.1.2
If you have something to visualize run the command : ./waf –run scratch/your_program –visualize, and to plot your output use: ./waf –run scratch/your_program | gnuplot



인터페이스 솔루션 개발 업체 정보 ( Interface solution Development)



인터페이스 개발 업체. 


Diameter, HSS, RF 관련 인터페이스 개발 및 정보를 제공해 주는 사이트 

SMS in UMTS Network

2013년 4월 17일 수요일

Thunderbird 성능 개선 팁

Thunderbird 성능 개선 팁

Thunderbird를 사용하다보면 컴퓨터의 리소스는 넉넉함에도 불구하고 창 이동이나 사용자 행동에 대한 반응이 조금은 느린듯한 느낌이 들 때가 있다. 무언가 그래픽적인 처리가 버벅거리는 듯한 모습인데 이 경우 아래 옵션을 적용하면 효과가 있다. 개인적으로 업무용 데스크탑은 16GB 메모리를 사용하고 있음에도 반응이 느려서 아래 옵션을 적용하였고 효과를 크게 보았다.
먼저, Thunderbird의 옵션->고급 페이지로 들어가서 고급설정 항목의 ‘설정편집’을 눌러 아래 항목을 검색하여 값을 수정한다.
gfx.direct2d.disabled true
layers.acceleration.disabled true
Direct2D 관련된 부분의 값을 수정해 주는 옵션이다. 만약 사용하는 데스크탑이 Linux나 Mac OS X일 경우에는 아래 옵션을 활성화 해주면 도움이 될 수 있다.
layers.prefer-opengl true
나의 경우는 옵션을 적용한 후에 수기가바이트에 달하는 메일박스에서 새로운 메일을 확인할 때 마다 화면에 보여주는 속도가 많이 개선되었다.
그 외의 팁은 아래 페이지를 참고하면 된다.

mail.google.com 의 메일 계정을 OUTLOOK 2007 에 등록하는 법



mail.google.com 의 메일 계정을 OUTLOOK 2007 에 등록하는 법

https://sites.google.com/a/uah.edu/google-apps-learning-center/apps-learning-center/email-clients/imap-connection-for-outlook

참고로 썬더버드를 사용하면 설정정보를 알아서 모두 세팅해 주세요.. 
썬더버드 추천

2013년 3월 24일 일요일

AD(Active Directory)구성


1. AD(Active Directory) 구성  - Domain controller 설정
  - http://blog.naver.com/leekh8412?Redirect=Log&logNo=100175594400

2. AD(Active Directory) 구성  - 추가 Domain controller 설정
  - http://blog.naver.com/leekh8412?Redirect=Log&logNo=100175594400

3. AD(Active Directory) 구성  - 일반 member 서버의 도메인 가입
  - http://blog.naver.com/leekh8412?Redirect=Log&logNo=100175594400

2013년 3월 19일 화요일

하둡 개발을 위한 이클립스 설치



인텔 cpu 비교

CPU 스펙을 비교할때 유용한 사이트
http://www.intel.co.kr/content/www/kr/ko/processor-comparison/compare-intel-processors.html?select=server


CPU Benchmarks : 

CPU성능 테스트 자료들을 한눈에 비교할수 있는 사이트,
http://www.cpubenchmark.net/



Standard Performance Evaluation Corporation

http://www.spec.org/

 

참고 사이트 : 

http://blog.naver.com/PostView.nhn?blogId=ssamba&logNo=170342342

2013년 3월 14일 목요일

windows server 2008 를 이용해서 프록시 서버 구성하기

http://forums.techarena.in/windows-server-help/1064219.htm
http://social.technet.microsoft.com/Forums/en-US/winserverNAP/thread/54d34773-1a01-4ff1-87f8-e3c79927e936/
http://technet.microsoft.com/en-us/library/dd458971(WS.10).aspx


Principles of Programming Lab 01

A few Unix commands

A

2013년 2월 25일 월요일

switch VLAN review


switch VLAN review

Switch evolution :

   Hub : 허브는 단순히 신호를 증폭 시키는 기능한다.
   Layer 2 switch : vlan 이용해서 네트워크를 논리적으로 분리가능하다.
           But, 서로 다른 네트워크간에 트래픽을 보내기 위해서는 라우터가 필요하다.
          여기서 사용하는 라우터(router on a stick) 병목현상을 만들수 있다.
   Layer 3 switch : 스위치에 라우팅 기능이 포함되어 있다. 라우터 없이 라우팅 기능을
                           사용할수 있다.

ECN(Enterprise Composite Network Model)
-       3 layer 모델 : Core – Distribution – Access






















VLAN Foundateion
-       Vlan broadcast domain 나눈다.  (segments broadcast domains)



















Vlan configuration

Method 1 : vlan database
             모든 vlan 설정이 끝나고 exit 명령어가 실행될때 적용된다.

Method 2 : (config)#vlan 100
          (config-vlan) #name MARKETING
             각각의 명령어가 실행되는 순간 적용된다.

Interface 적용 방법ss
             interface range fa0/1 – 10
                           switchport mode acc
                           switchport access vlan 100

vlan 정보가 저장되는 위치 :  vlan.dat  stored in flash

In-Depth Trunking

Review : what is trunking?
             Trunking 포트는 멀티-vlan 트래픽을 전송할수 있다.


The Two tagging flavours
-       Inter-Switch Link (ISL) – 시스코 전용 프로토콜, encapsulation (add 26 byte + 4 byte)











-       802.1Q - 표준 프로토콜, inserts tag into frame ( only 4 byte )

 







native VLAN

만일, trunk 포트에서 태크가 없는 패킷으로 들어오면 스위치는 native vlan으로 할당한다.


PC 태그 정보를 보내지 않는다. 따라서 PC 보내는 패킷은 모두 native vlan으로 할당된다.
현재는 Hub 많이 사용하지 않기 때문에 native vlan 개념이 voice over IP 이용된다.


일반적으로 많이 사용하는 IP폰에는 switchport 있다. Network 관리자 입장에서 보면 IP폰과 PC 트래픽을 분리하고 싶다. 따라서, 스위치 포트에 small trunk 기능 가지고 IPv폰과 PC트래픽을 분리한다. IP폰은 vlan 10 태그를 이용하고 PC 태그없이 트래픽을 보내고 이는 스위치에서 native vlan ( 20 ) 할당하게 된다.


Negoticating Trunking : DTP(Dynamic Trunking Protocol)

스위치가 직접 연결되면 자동으로 trunk port 설정한다.


스위치 포트 5가지 모드 :
-       Access
-       Trunk
-       Dynamic Auto : DTP 메시지를 받으면 trunk 설정하지만 먼저 요청 메시지를 보내지 않는다.
-       Dynamic Desirable : DTP 요청 메시지를 먼저 보내서 trunk 포트를 설정한다.
-       Non-Negotiate :  DTP 요청 메시지를 받지 않고, 보내지도 않는다.  

 *** 실제 업무에서는 Trunk / Non-Negotiate 추천

Trunking Configuration

             Switchport trunk encapsulation dot1q
             Switchport mode trunk
             Switchport nonegotiate
             Switchport trunk native vlan XXX
             Switchport trunk allowed vlan 10,20,30



VTP (Vlan Trunking Protocol)
Revision 번호를 기반으로 Vlan 정보를 교환하는 프로토콜.
VTP mode : Server/client/transparent


VTP Pruning
자신이 가지고 있지 않는 vlan 정보는 trunk 포트에서 필터링한다.
아래 그림, GREEN 트래픽은 세번째 스위치에서 필터링된다.