본문 바로가기
OLD/OS

[FreeBSD] 인터페이스 설정

by Hoft 2013. 10. 21.

 

Interface configuration

/etc/rc.conf

 

1

# -- sysinstall generated deltas -- # Fri Aug 9 16:39:00 2013

2

# Created: Fri Aug 9 16:39:00 2013

3

# Enable network daemons for user convenience.

4

# Please make all changes to this file, not to /etc/defaults/rc.conf.

5

# This file now contains just the overrides from /etc/defaults/rc.conf.

6

defaultrouter="192.168.123.1"

7

hostname="free"

8

ifconfig_re0="inet 192.168.123.124 netmask 255.255.255.0"

9

inetd_enable="YES"

10

ipv6_enable="YES"

 

 

네트워크 재시작

/etc/rc.d/netif restart

'OLD > OS' 카테고리의 다른 글

[CentOS] DNS 설정  (0) 2014.03.09
[CentOS] 네트워크 인터페이스 설정  (0) 2014.03.09
[Ubuntu] 우분투 IPv6라우터로 사용하기.  (0) 2013.10.21

댓글