os:debian:networking:multiple_ips_others
문서의 이전 판입니다!
Multiple IP Addresses on debian linux
/etc/network/interfaces 설정
- device IP를 여러개 할당할 수 있다.
# The primary network interface auto eth0 iface eth0 inet static address <the outbound IP> netmask <the netmask for the outbound IP, usually 255.255.255.0> gateway <the gateway for the outbound IP, find it in Linode Manager - Remote Access> up /sbin/ip addr add <the primary IP>/24 dev eth0 - eth0 에 192.168.200.101에 192.168.200.102 를 추가로 할당한다.
auto eth0 iface eth0 inet static address 192.168.200.101 netmask 255.255.255.0 gateway 192.168.200.1 up /sbin/ip addr add 192.168.200.102/24 dev eth0
os/debian/networking/multiple_ips_others.1367855062.txt.gz · 마지막으로 수정됨: 저자 starlits
