로컬연결 192.168.3.2 -> target 과 연결된 lan card
로컬연결2 DHCP -> 회사망 과 연결된 internet line
vmnet0 -> target 과 연결된 3COM lan card 와 bridge 시킨다.
방법은 automatic bridging 메뉴에서 회사망과 연결된 intel lan card 를 exclude 시킨다.
vmnet1 192.168.0.3
linux
eth0 192.168.3.1 bridged
eth1 192.168.0.1 Host-only
위 상태에서 linux 에서 192.168.0.3 으로 ping 이 되야 한다
위 상태에서 windows 에서 192.168.0.1 로 ping 이 되야 한다.
양쪽으로 ping 이 되면 vmnet1 을 통해 windows 와 linux 가 연결된것이다.
Linux 에서 외부 internet 연결방법
/etc/resolve.conf 에서 nameserver 를 192.168.0.3 으로 맞춘다.
windows 네트워크 연결 에서 로컬연결2 를 공유하여 vmnet1 과 연결한다.
linux 에서 yahoo.co.kr 이 ping 이 되는지 확인한다.
linux 에서 portal.humaxdigital.com 이 ping 이 되는지 확인한다.
windows 에서 linux 쪽으로 연결할때는 192.168.0.1 을 사용한다.
(ssh, telnet, ftp, samba)
target 은 192.168.3.4 로 설정한다.
target 에서 연결하는 linux 의 ip 는 192.168.3.1 이다
(tftp, nfs)
windows 에서 target 쪽으로 연결할때는 192.168.3.4 를 사용하면 된다.