작업공간/기본적인 삽질 & 기록

Backtrack Network Setting

Sun2Day 2010. 3. 4. 14:22
반응형

여태까지 어디서 세팅을 하는지 몰라서..

ifconfig eth0 xxx.xxx.xxx.x
route add default gw xxx.xxx.xxx.x

했었는데..
알고보니 너무나도 쉬운 곳에 있었다..


sun2day@bt:~# vi /etc/network/interfaces

      1 auto lo
      2 iface lo inet loopback
      3
      4 auto eth0
      5 iface eth0 inet static
      6 address 172.16.8.100
      7 gateway 172.16.8.2
      8 netmask 255.255.255.0

sun2day@bt:~# /etc/init.d/networking restart


반응형