General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.

[Code]...

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Multiple Interfaces - Connect Server From Computer

Mar 6, 2011

I have a built-in gigabit Ethernet card which is connected to a router. Router's IP address is 192.168.2.1 My IP is 192.168.2.161 (eth0) I also have a Nokia N900 connected via USB and its IP is 192.168.1.1. It serves as a second router and on that interface (usb0) my IP is 192.168.1.2 N900 is also connected to a wireless network. Router of that network has the IP 10.0.0.1 and N900's IP is 10.0.0.50 (wlan0) My problem is that I want to reach a server at 10.0.0.7 from my computer. Is there a way I can do that?

View 1 Replies View Related

Networking :: Create Multiple Virtual Adapter For VLAN'S

Jul 3, 2010

I need to set a NAC (PacketFence) system , i would like to set in my case eth0 to work with several different VLAN'S i created ifcfg-eth0.2 copied from orginal ifcfg-eth0 and changed the ip and append VLAN=yes but when i am triyng to load ifcfg-eth0.2 i get error

I must missed something

My ifcfg-eth0 goes as follow

Code:

My ifcfg-eth0.2 goes as follow

Code:

View 2 Replies View Related

CentOS 5 Networking :: Create Multiple Virtual Adapter For VLAN'S

Jul 3, 2010

I need to set a NAC (PacketFence) system (CentOS 5.5), i would like to set in my case eth0 to work with several different VLAN'S i created ifcfg-eth0.2 copied from orginal ifcfg-eth0 and changed the ip and append VLAN=yes but when i am triyng to load ifcfg-eth0.2 i get error

my ifcfg-eth0 goes as follow

# Intel Corporation 82578DM Gigabit Network Connection
# Normal VLAN Lan adapter (Managment)(On-boad 1st NIC)
DEVICE=eth0

[code]....

View 2 Replies View Related

General :: Multiple Interfaces To One IP Address?

May 30, 2010

At present, I have:

a Netgear router with DHCP off at 192.168.0.1 my computer

eth0 at 192.168.0.2
wlan0 at 192.168.0.2

The wlan0 interface always connects to the router, while the eth0 interface connects to other computers with crossover and acts as a dnsmasq DHCP server for network boot and installation.

If I use the Gnome NetworkManager to enable both connections, that is, with wlan0 connected to the router/internet and eth0 to another computer, both as 192.168.0.2, I cannot access the internet while eth0 is connected.

Why is this? How can I configure my computer to follow wlan0 for Internet usage, but use eth0 for itself (the latter is working but blocking wlan0).

View 1 Replies View Related

Debian :: Virtual Networking In Qemu / Add Interfaces To Two Networks

Sep 5, 2015

I just installed qemu and want that my VM should have net access too. So for that I installed bridge-utils and used URl....Add both the interface with the second computer, and the interface that leads to the existing network. Do it with this command: # brctl addif br0 eth0 eth1

View 1 Replies View Related

General :: Custom TCP Parameters For Multiple Interfaces - Change The Default Values

Feb 16, 2011

My question is about TCP parameters in Linux. By now, I want to change the default values of:

Initial Timeout
ACK Delay
Idle Connection Timeout

I have a Linux Box with kernel 2.6.x and 2 ethernet interfaces. I know TCP is a stack that doesn't have anything to do with ethernet devices. Said that, the question: is there a way to set custom values for each interface? For example, a server listening to connections in eth0 would use one value for Idle Connection Timeout and another server listening to connections in eth1 could use a different value for that parameter.

View 4 Replies View Related

General :: Multiple CPU Cores In Virtual Box?

Jul 28, 2010

When I was using Virtual Box in Windows 7, I could choose how many CPU cores to assign to the guest OS. Now I'm using Linux, and when I installed Virtual Box, I couldn't find that option. System Monitor shows that when the VM is busy only one CPU core goes to 100% while the rest are near 0%. How can I make Virtual Box in Linux use multiple CPU cores?

View 2 Replies View Related

Networking :: Getting A Firewall With Multiple Interfaces?

Mar 11, 2010

I would like a basic firewall on my netbook and first attempted this by using firestarter as i have no experience in writing IPTABLES rules from first principle and to be honest the syntax looks horrific! the problem with firestarted is that when i selected WLAN0 to be the internet connected port everything worked fine until i connected to a VPN at which nothing would work (the only error i got was when pinging an IP address when i got sendmsg not permitted) my normal setup is this.... normally im connected via WLAN0 to the internet. but one one particular network i must activate the VPN to use anything, this creates another interface tun0. both wlan0 and tun0 will be assigned an ip address but only the tun0 will do anything (the wlan0 one is configured by the network to just allow traffic to the vpn gateway and nothing else) what i really need is some way of creating a basic firewall (drop all incomming except ports i specify) that lives on wlan0 unless tun0 is active in which case it moves to tun0

View 3 Replies View Related

Networking :: Using Multiple Interfaces For Tcpdump?

Feb 16, 2011

Is there a way to do multiple interfaces in tcpdump? I have found that when using "-i any", not all packets are captured (compared to "-i eth0" on a machine with only one interface). I need to monitor traffic on some machines with as many as 6 interfaces, and get these packets that "-i any" misses. When I give the "-i" option multiple times, it seems to only use the last one.

View 3 Replies View Related

Fedora Networking :: What Happens With Multiple Network Interfaces

Apr 30, 2009

What traffic goes where? Why? Any bandwidth advantage? What if one goes down?

View 4 Replies View Related

Networking :: Splitting The Traffic On Multiple Interfaces?

Jul 6, 2010

I have the following setup: Client A, having 2 network interfaces, eth0 and eth1, both with the IP address 192.168.1.1/32. Client B, also having 2 network interfaces, eth0 and eth1, with the IP addresses 192.168.1.2. The routing table on client A has one entry: 192.168.1.2 dev eth0 The routing table on client B has one entry: 192.168.1.2 dev eth1. Basically the idea is to send the upload traffic one one interface and the download traffic on the other interface. (Client B could serve as a gateway). However, with this setup, well... nothing works. The packets received by Client B are ignored. Does the linux kernel have anything against routing packets coming from an interface, although he thinks the source is on another interface?

View 4 Replies View Related

Networking :: Combining Multiple Interfaces With Multicast?

Apr 1, 2010

I have 4 interfaces, dvb0_0 - dvb0_3. Each one has a multicast stream coming in on it. The program I am using to decode these streams only accepts one interface though. How can I "combine" so that the program, listening on 1 ip can get all 4 streams? they are on groups 224.0.1.1-4

View 1 Replies View Related

Networking :: Receiving Multicast On Multiple Interfaces?

Jul 9, 2010

I am trying to run some benchmark tests for multicast. What I want to do is have one system send multicast packets and another receive it on all it's interfaces (eth0-eth3). Whenever I run receiver on more than one interface I get echo effect (if I receive on x interfaces then I get same packet x number of times). Is this how it is supposed to behave? It does not make any difference whether I use loop-back or not. I have set SO_REUSEADDR to yes. I run separate instance of receiver on each interface. I am doing this on RHEL5 systems.

# uname -r
2.6.18-164.20.1.el5

View 3 Replies View Related

Networking :: Udev Failure With Multiple Interfaces

Jan 7, 2011

I have got a problem in the configuration of the network for my Linux box. The distribution is Slackware 12.2 with the 2.6.27.7-smp kernel. There are three ethernet NIC, one on the motherboard with Atheros AR8121/AR8113 chip and two on PCI card which with RealTek 8169.
I installed the module for Atheros which is the atl1e.ko and I defined the configuration for the three NICs in /etc/rc.d/rc.inet1.conf.
When I hit the commend ifconfig I see all the three interfaces eth0, eth1, and eth2, but the address are not distributed between the NICs as I'd like so I thought to resolve the inconvience with udev, but I don't know how to proceed because there is a strange situation.

If I control the file /etc/udev/rules.d/70-persistent-net.rules I see a strange situation: Once the file contains nonly a line for the Atheros NIC but if I reboot the system there are the two lines for the two RealTek NICs and everytime the system is rebooted there is a change between these two alternatives. A detail I noted is that the two modules atl1e and r8169 are both always loaded, so udev has always the chance to detect the hardware but for some reason that I don't know something goes wrong. Another related problem that bothers me is the absence of udevinfo and udevtest. Have I perhaps to reinstall udev?

View 1 Replies View Related

Debian Configuration :: Multiple Network Interfaces With VirtualBox?

Mar 29, 2010

I have a rather urgent problem with my network, I got two virtual network interfaces one internal and one external. The problem is; I can't get connection to internet. The external NIC is set as a NAT and the internal is... internal.

/etc/network/interfaces
auto eth1
iface eth1 inet static
address         192.168.1.200
netmask         255.255.255.0                             

Running with this configuration makes my internet connect go away, however if I remove the configuration for eth1 everything is working fine.

View 3 Replies View Related

Ubuntu Networking :: Getting Dynamic Ip Addresses For Multiple Interfaces?

May 6, 2010

I have 4 Ethernet Interfaces. I need Dynamic IP-Addresses for 2 Interfaces. Can anybody help me how can i achieve that

View 3 Replies View Related

Ubuntu Networking :: Multiple Interfaces In Network Manager Have The Same Name

Apr 7, 2011

I have a problem where multiple interfaces in my network manager have the same name. This means that I am unable to have different settings for each interface. Here is my setup:

Ubuntu 10.04 LTS
uname -a: Linux muon 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux
Adapter 1: 02:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)

Adapter 2: HTC Desire tethered via USB. When I start from scratch, with no remembered networks in the network manager, the Ethernet is shown as "Auto Ethernet". When I then connect the HTC Desire, the new network is shown in the network manager also as "Auto Ethernet". Previously, when I right clicked on the network manager and selected "Edit Connections", there were multiple "Auto Ethernet" entries under the wired tab.

Now (and I do not know what changed, sorry), I only see one entry. When I edit this entry (say, add a route), then the route is added for both network interfaces. This used to still work, so I was not worried about the name clash, but now it is causing problems so I need to have a different name for each network interface.

View 1 Replies View Related

General :: Ubuntu Distributions - Put Multiple Virtual Desktops In Panel

Oct 22, 2010

I first tried latest version 10.10 desktop. very slow booting in a Centrino CPU laptop not booting at all in a N455 CPU netbook. Tried version 10.04 which seems to work better fast booting in Centrino CPU laptop. fast booting in N455 CPU netbook. From Centrino Laptop with Windows XP on HD, once loaded Ubuntu as persistent live program from a USB drive, tried to install the program on SD memory card in PC slot. Upon request, installation made onto that memory only, not on inside HD, hence formatting only that memory. Upon completion, after removing the external memories and booting again the PC it does not boot of its own any more. XP OS damaged. I have recovered the system with a Toshiba backup CD but the HD has been formatted and all data lost. How can this happen ? I'll never try anymore to permanently install Ubuntu. I'll use it as persistent live on an external memory. I only have an old PC laptop with 128 MB RAM for further installation testing but no Ubuntu release can boot there. By the way, Lubuntu 10.10 look more fast and safe although appears to have more limitations then Ubuntu 10.10.

View 3 Replies View Related

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

Aug 23, 2010

I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.

I tried the coding posted above.

find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....

but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"

View 9 Replies View Related

Fedora Networking :: Set Up Multiple Virt Interfaces In Network-scripts?

May 15, 2009

if I want to do eth1, eth1:0, eth1:1 etc and automatically configure them at startup where do I put that in the network-scripts?

View 2 Replies View Related

Ubuntu Networking :: Multiple Network Interfaces (one Connected At A Time)?

Oct 15, 2010

configure a server with two network interfaces? This system is physically moved from one network to another every few days (different buildings but connected by a VPN). I'd like to be able to control the IP address of the system depending on which port I plug the network cable into with a static setting. Right now the system will connect to the local network, but any requests to go beyond the subnet get lost. The only way I can get the system to talk outside of its subnet is to comment out the second interface.

/etc/network/interfaces:

auto lo
iface lo inet loopback
auto eth0

[code]....

View 2 Replies View Related

Networking :: Pinging Multiple Interfaces - Getting Pings From Eth0 But Not From Eth1?

Feb 26, 2011

I have two network interfaces and their entries are shown as eth0 and eth1... I want to assign them static IPs which I do by

ifconfig eth0 192.168.9.245 netmask 255.255.0.0 up
ifconfig eth1 192.168.8.245 netmask 255.255.0.0 up

But I am not sure if it will ping both the interfaces if I issue a command

ping -I eth0 192.168.9.113 (machine in network)
ping -I eth1 192.168.9.113 (machine in network)

I am getting pings from eth0 but not from eth1

View 10 Replies View Related

General :: Good Support To Multiple Desktops AND Multiple Monitors

Jun 4, 2010

I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.

My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?

View 3 Replies View Related

General :: How To Manage / Create Partitions For Multiple OS

Aug 3, 2011

How do I divide my hard drive into multiple OS'es/partitions for my test machine? For example:
Win XP
Win 7
Gentoo
Ubuntu
Storage
Can Linux'es share swap area? I was told to leave the first primary for the grub and linux cores.

View 1 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related

General :: Search Multiple Words In Multiple Lines?

Dec 16, 2010

How to search multiple words in multiple lines, inside a directory including sub-directory? Pls. give easy example. I want to search the files (in /xx folder and all subfolders) that have header.h included and used x() function. I tried $grep -r "header.h" | grep -r "x(" /Folder/subfolder/ > search.log

View 7 Replies View Related

Ubuntu Networking :: Multiple Network Connections On Different Networks?

Sep 20, 2010

I am total newby in Ubuntu 10.04. I have just installed it in my office where I have two networks card one connect to a router giving the internet access and the other connected to the windows based work network providing access to the work network sources. In XP everything works fine as I can keep both connections alive and have the results I want.

However although I don't know how to do it in Ubuntu 10.04. Till now I have setup the first connection directly to my router and I have internet access but I cannot set the other one. Another question is how I can force ubuntu to use the router connection as the default one when I log in.

View 5 Replies View Related

Networking :: Multiple (NIC's, Types, Etc.) Networks Use A Single DCHP?

Jul 8, 2010

I know a fair amount about setting up a simple network but I'm curious about setting up a more complex topology...For example...A "box" has two NIC's acting as a bridge, normally this would involve two distinct networks (ie. 192.213... and 192.214...) is it possible that this physical set up can create a single network (192.213... 192.213...) resolving IP's from either a DCHP on the "box" or a DCHP server somewhere else on "one side of the box"likewise with differing physical network types, a "box" with a NIC and a TCP/IP over usb setup connected to another device with TCP/IP over usb (OTG/Gadget) so that all the IP's are on one logical network.

View 1 Replies View Related

General :: How To Create Multiple Children Before Any Child Executes

Aug 27, 2010

Iv got an assignment to complete and I'm stuck at the basic level.

A part of the assigned problem is :

The main process will read the file, and will create N number of child processes (Where N is taken as input) as early as possible before all the children starts its execution. Before creation of each child, the main process should read the file to store all the required data in then corresponding data structure. Child processes should not read the file for getting their information.

As far as my knowledge about this , the child executes before the parent. How do I make the parent not pass the control to it's children before it finishes creating all the children?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved