08_1_net

Upload: vadim12345

Post on 02-Mar-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/26/2019 08_1_net

    1/11

    8 1/2

    This work is licensed nder !he "re#!i$e "o%%ons &!!ri'!ion()onco%%erci#l()o *eri$#!i$e +orks ,-.icense- To $iew # co0 o !his license3 $isi! h!!04//cre#!i$eco%%ons-or5/licenses/'(nc(nd/,-./ or send #

    le!!er !o "re#!i$e "o%%ons3 161 7econd 7!ree!3 7i!e ,..3 7#n r#ncisco3 "#liorni#3 9:1.;3

  • 7/26/2019 08_1_net

    2/11

    04.07.07 (c) 2007, 2

    =>?

    @coni5

    ABCD i0 idown

    EF?D ?BG ?BG DH?BIG

    JBG BKBL?M N?

    O?B?D PD ?BG

    QD >R?

  • 7/26/2019 08_1_net

    3/11

    04.07.07 (c) 2007, 3

    Q iconi5

    !

    [root@andrew ~]# ifconfig

    eth1 Link encap:Ethernet HWaddr 00:13:02:3E:69:7C

    inet addr:192.168.1.37 Bcast:192.168.1.255 Mask:255.255.255.0

    inet6 addr: fe80::213:2ff:fe3e:697c/64 Scope:Link

    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    RX packets:5462 errors:0 dropped:270 overruns:0 frame:0

    TX packets:1837 errors:0 dropped:0 overruns:0 carrier:0

    collisions:0 txqueuelen:1000

    RX bytes:405806 (396.2 KiB) TX bytes:202409 (197.6 KiB)

    Interrupt:169 Memory:e8000000-e8000fff

    ifconfig -a

  • 7/26/2019 08_1_net

    4/11

    04.07.07 (c) 2007, 4

    ABCD i0 idown

    A? @0 S?BIG

    @down S?BIG

    OCFKPUM IGD ?B/e!c/ssconi5/ne!work(scri0!s/

    ifcfg-xxx

    ifcfg-xxx:xxx

    ifcfg-xxx-rangex

    /usr/share/doc/initscripts-*/sysconfig.txt

  • 7/26/2019 08_1_net

    5/11

    04.07.07 (c) 2007, "

    VBNB ?IRPBW??RIG ?BIG

    TYPE=Ethernet

    DEVICE=eth0:1

    BOOTPROTO=none

    HWADDR=00:15:60:BA:7F:42

    NETMASK=255.255.255.0

    IPADDR=192.168.0.250

    USERCTL=no

    NOZEROCONF=yes

    IPV6INIT=no

    PEERDNS=yes

  • 7/26/2019 08_1_net

    6/11

    04.07.07 (c) 2007, #

    /e!c/ssconi5/ne!work

    NETWORKING=yes

    NETWORKING_IPV6=no

    HOSTNAME=andrew.homelinux.com

    GATEWAY=192.168.1.100

    NISDOMAIN=mytestdom

  • 7/26/2019 08_1_net

    7/11

    04.07.07 (c) 2007, 7

    JBG NBLBP

    XBLBP C PNY?U /e!c/ssconi5/ne!work

    /e!c/ssconi5/ne!work(scri0!s/ic5(ZZZ

    AY NBLBPD ro!e ne!s!#! (r

    /e!c/ssconi5/ne!work(scri0!s/ro!e(ZZZ

  • 7/26/2019 08_1_net

    8/11

    04.07.07 (c) 2007, $

    JBG BKBL?M N?

    /e!c/nsswi!ch-con

    /e!c/hos!-con

    /e!c/hos!s

    /e!c/resol$-con

  • 7/26/2019 08_1_net

    9/11

    04.07.07 (c) 2007, %

    O?B?D PD?BG

    ne#!

    ne#!(!i

    ne#!(con!rol

  • 7/26/2019 08_1_net

    10/11

    04.07.07 (c) 2007, &0

    QD >R?

    0in5

    !r#cero!e

    %!r

    hos!

    di5

  • 7/26/2019 08_1_net

    11/11

    04.07.07 (c) 2007, &&

    V[\]O^_A\[` [a][

    JBG