VirtualBox on the Ubuntu server virtual machine needs to access both intranet and extranet, but the special reason can not use bridge mode, so you need to configure a dual network card for the virtual machine, one distribution extranet, another distribution intranet.
In the VirtualBox virtual machine settings, add two network cards, the first network card using
up and it had been stuck for a long time.
STEP 2
Allows machines to implement simple forwarding functions.
First, let it know which packet should be sent to which Nic, and add two route table items:
# Route add-net 192.168.X.0 netmask 255.255.255.0 eth0
# Route add-net 202. XX. XX.0 netmask limit 255.255.0 eth1
It indicates that eth1 starts with eth0 and starts with eth0.
Next, let the packet that comes in from the network
Dual-IP settings for Linux Nic ordering-Linux Enterprise Application-Linux server application information. For details, refer to the following section. 1. Configure the first IP address in Linux:
[Root @ Linux root] # cd/etc/sysconfig/network-scripts
[Root @ Linux network-scripts] # vi ifcfg-eth0
DEVICE = eth0
BOOTPROTO = static
BROADCAST = 192.168.80.255 // * BROADCAST address *//
IPADDR
Linux dual-nic NAT shared Internet access I. Network Extension Structure: SERVER: Two NICs settings: eth0: 202.96.168.100 mask: 255.255.255.0 Gateway: 202.96.168.68 # With Inte. net associated eth1: 192.168.1.1 mask: 255.255.255.0 # subnet segment of the Client Connected to the LAN: 192.168.1.0/255 www.2cto.com II. Server Settings: (either of the two methods can be used) 1. Use the NAT method to execute the
The environment is as follows:Status: A Linux host has two network cards eth0 and eth1, the machine can access the service resources of 192 network, but cannot access 10 network segment resources.Requirement: Linux can access 10 network segment resources through ETH1Routing:Card:Action: Only need to add the following detailed route to access 10 network segment resourcesPostScript: During the operation, I started the idea of adding 10 gateways to let 10 of the packets go eth1.Added to the network
changed in the following context:Device=eth0Userctl=noOnboot=yesMaster=bond0Slave=yesBootproto=noneIn the script file ifcfg-eth1, replace the eth0 with eth1, and also add the IP address information as needed. If you need to set up an additional bonding device (for example, BOND1), change the master=bond0 to Bond1 so that the network adapter becomes a secondary device of BOND1.Make Bond effectiveRestart the network subsystem with the command "/etc/rc.d/init.d/network restart", or you can restart
Simple Type:
Cp/etc/sysconfig/network-scriptes/ifcfg-eth0 ifcfg-bond0Device=bond0Bootproto=noneOnboot=yesipaddr=192.168.2.17netsmak=255.255.255.0Type=ethernetVI Ifcfg-eth0Device=eth0Bootproto=yesOnboot=yesType=ethernetMaster=bond0Slave=yes
VI Ifcfg-eth0Device=eth0Bootproto=yesOnboot=yesType=ethernetMaster=bond0Slave=yes
Vi/etc/modprobe.confAdd to:Alias Bond0 BindingOptions Bond0 miimon=100 mode=1 This means that the link state is detected in 100 seconds, and if one is not,
Article title: Dual-Nic Internet access in LINUX. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I. network extension structure:
Server: set two Nics:
Eth1: 192.168.99.26 mask: 255.255.255.0 Gateway: 192.168.99.htm # connect with Inte. Net to connect the vro to the Inte
In Linux, set the tftp service and set the dual NIC-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Set up the tftp service in Linux
Problems:
There is a tftp green software on Windows, so there must be similar software on Linux, So I entered the tftp Command in Linux. Hey, I actually entered the tftp console, so simple ??? After entering the h
Group 1 mode manual[Switch]interface gigabitethernet 1/0/1[SWITCH-GIGABITETHERNET1/0/1] Port link-aggregation Group 1[SWITCH-GIGABITETHERNET1/0/1] Interface gigabitethernet 1/0/48[SWITCH-GIGABITETHERNET1/0/2] Port link-aggregation Group 1[SWITCH-GIGABITETHERNET1/0/2] Interface gigabitethernet 1/0/47[SWITCH-GIGABITETHERNET1/0/3] Port link-aggregation Group 1Test results650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/D9/wKiom1W_NnCyuIRnAAOJyZs53EE344.jpg "title=" 8.png " alt= "Wkiom
Article title: Dual-IP settings for Nic placement in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories 1. configure the first IP address in Linux:
[Root @ Linux root] # cd/etc/sysconfig/network-scripts
[Root @ Linux network-scripts] # vi ifcfg-eth0
DEVICE
module, and modprobe, different, it can be in any path, the need to automatically load the dependent module and bonding into the kernel.View bonding Status' Cat/proc/net/bonding/bond0Ethernet Channel Bonding driver:v3.7.1 (April 27, 2011)Bonding mode:fault-tolerance (active-backup) (Fail_over_mac Active)Primary Slave:noneCurrently Active Slave:eth0MII Status:upMII Polling Interval (ms): 100Up Delay (ms): 0Down Delay (ms): 0Slave Interface:eth0MII Status:upSpeed:unknownDuplex:unknownLink Failure
The Dell Inspiron M511R (m511rd-628) design specification is AMD Radeon HD 6470M+AMD Radeon HD (integrated processor) dual graphics card, A's graphics card switching is not fully automated, need to manually switch, Now the switching method is in the video card driver inside the manual selection of the
Tags: style run through Gateway Execute control span ROC addOriginal address: http://blog.csdn.net/lllzd/article/details/8587624 Description: In the "Arm Development Board made of USB card (Rndis/ethernet Gadget)" Base mini2440 into a USB card *********************************************************/A Linux server that connects two different network segments via two network cards,a:192.168.xxx.xxxB:172.24.
UBUNTU12.04 System, dual network card: eth0, eth1. DB set to public IP, and LAN IP,
This allows the computer to access various IPs within the LAN, and can be accessed worldwide, using SSH or Remote Desktop tool.
Then began to implement:
First step: Modify the Network settings:
sudo vim/etc/network/interfaces
Step Two: Restart the network Service
sudo/etc/init.d/networking restart
Note the error message may
bandwidth Bundle
2. Can be detected and automatically failover when a network component fails
For example, if you are not configured as "master standby" mode but "double live" mode of network card aggregation, then two 1GbE gigabit NIC can achieve 2Gb total throughput, if it is hooke′s Gigabit NIC can achieve 20Gb total throughput and so on. How many network a
View Nic models [root @ server] # lspci | grepEthernet00: 19.0 Ethernetcontroller: IntelCorporation82567V-2GigabitNetworkConnection view memory and cpu most direct and most commonly used commands: [root @ server] # free nb view Nic models
[Root @ server] # lspci | grep Ethernet
00:19. 0 Ethernet controller: Intel Corporation 82567V-2 Gigabit Network Connection
The most direct and common commands for vi
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.