Network Configuration Network Clamp interface

Source: Internet
Author: User

Network Configuration Network Clamp Interface


OS:RED  hat enterprise  LINUX  6.4
currently eth0 communicates with Win7 via host-only Nic
plan to eth0 configure the sub-NIC IP eth0:0 Address 192.168.7.101
use Win7 to properly access the Linux operating system through this IP
650) this.width=650; "src=" http://blog.itpub.net/attachment/201601/18/29475508_14530863188s10.jpg "width=" 313 " height= "194" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

[email protected] ~]# cat/etc/sysconfig/network-scripts/ifcfg-eth0
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086355SBk1.png "width=" 698 " height= "379" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086366M77S.png "width=" 700 " height= "391" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>


1 replication eth0 NIC configuration file generation eth0:0
[email protected] ~]# ifconfig eth0
[email protected] ~]# cd/etc/sysconfig/network-scripts/
[email protected] network-scripts]# CP ifcfg-eth0 ifcfg-eth0:0
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_14530864416ZmX.png "width=" 700 " height= "style=" Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

2 Editing the NIC configuration file
[email protected] network-scripts]# VI ifcfg-eth0:0
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086460Yy06.png "width=" 578 " height= "226" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

3 Restart Network Service
[email protected] ~]# service network restart
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086476ikc3.png "width=" 700 " height= "175" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

[email protected] ~]# ifconfig
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086488CqWA.png "width=" 700 " Height= "509" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

4host-only Virtual network card adds 7 segment IP address
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086514oy4B.png "width=" 700 " height= "395" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086551STH1.png "width=" 341 " height= "154" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>

650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_145308656484u7.png "width=" 700 " height= "410" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>


5win7 ping Test eth0:0 IP network pass
650) this.width=650; "src=" Http://blog.itpub.net/attachment/201601/18/29475508_1453086571L5u1.png "width=" 502 " height= "214" style= "Border:0px;color:rgb (102,102,102); font-family: ' Song-body ', arial;font-size:12px;line-height:26px; White-space:normal;background-color:rgb (255,255,255); "/>


This article from "Nicol Lock Silk Sorrow" blog, please make sure to keep this source http://smoke520.blog.51cto.com/9256117/1793294

Network Configuration Network Clamp interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.