????linux?????????????
???????????vmware??????????????氳??????redhat linux????????
?????????????????????硣
??????????windows????????????
????ip??192.168.1.109
????nemask:255.255.255.0
????gateway:192.168.1.1
?????????Щ?????????????????????????????Σ?192.168.1.0?????????????192.168.1.1??
???????????????????255.255.255.0
??????????????????
???????????????
????????ip??????????
????ifconfig 192.168.1.110 netmast 255.255.255.0
???????????????
????route add default gw 192.168.1.1
?????????????
???????????????????????????????????????????????
????vim /etc/sysconfig/network-scripts/ifcfg-eth0
????DEVICE="eth0"  ?豸????
????HWADDR="00:24:1D:8A:3D:F7" ??????
????ONBOOT="yes"  ??????
????BOOTPROTO="static"  ???IP   ?????? dhcp
????NETWORY="192.168.1..0" ????- -?????windows??????????
????IPADDR="192.168.1.110" IP???
????NETMASK="255.255.255.0" ????
????GATEWAY="192.168.1.1"  ???? - -?????windows??????
??????????????????????
????service network restart
????????????????????????????????????????????
???????????????????????????
??????????????????????????????service network restart?
??????????eth0???????
????Shutting down interface eth0: Device eth0 has MAC address 00:0C:29:AD:57:66 instead of configured address 00:24:1D:8A:3D:F7.
????Ignoring                                                   [FAILED]
??????????eth0???????????????00:0C:29:AD:57:66????????????????
???????00:24:1D:8A:3D:F7???????
????????????????????????????????????????в?????????????
?????????????????HWADDR="00:24:1D:8A:3D:F7"
???????HWADDR="00:0C:29:AD:57:66" ???ifconfig???鵽
?????????????????????????OK
??????????????????????????????
????????windows 7?????ping?linux???????????linux?????????ping?windows??
?????????????????????????????????????????windows 7???????????????????
???????????????windows 7?????????????????
???????????????????????run?????firewall.cpl???ù???
?????????ping ?????ping????
??????~~????????
????????????ú????????????硣
???????????????????????????
?????????
????==================================
?????????????????????й??????????????????windows?????putty?????
????????????linux??
??????????????linux?????ssh????
???????? service sshd start
??????????????ζ?????????????????????root??~/.bash_profile????
????????????????????
???????????????У?service sshd start??????
??????putty????????′δ????????????????????硣????????????ssh??????????????
???????windows????putty????