OLD/OS

[FreeBSD] 인터페이스 설정

Hoft 2013. 10. 21. 14:18
728x90
반응형

 

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

728x90
반응형