Fedora Networking :: Multiple NICS In Same Machine In Same Subnet?

Dec 7, 2009

I have a program that attaches to an interface. I can run two copies of the program on two systems (each running one instance), connect it to a switch, say 1.1.1.1 & 1.1.2.1. In this configuration two instances of the program can communicate and everything is fine.Now, to reduce cost, it want to use only one system with two nics connected to the same switch, running two instances of the above program, each instance attached to two interfaces respectively on the system. I have the following settings:

eth1 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXX
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

However I cannot ping one from the other.

Neither "ping -I eth1 1.1.2.1" nor "ping -I eth2 1.1.1.1" works.

View 2 Replies


ADVERTISEMENT

CentOS 5 Networking :: Multiple NICs On The Same Subnet?

Mar 30, 2009

I have a motherboard which has 4 x 1Gbps Ethernet controllers. I would like to use it as a Gateway for my home network. I have a static IP from my ISP which I can use to configure eth0 (I haven't done it yet as the LE-565 is currently sitting behind my Netgear router until I've got DHCP working). I would like to use eth1, eth2 and eth3 for my LAN. How do I set things up so that DHCP is handing out IP addresses on the same subnet (192.168.0.0/24) on all three interfaces?

P.S. I think what I'm asking is: how do I combine all 3 interfaces to behave like a switch (ie. just like my Netgear router)?

View 6 Replies View Related

CentOS 5 Networking :: Multiple NICS In Same Machine Connected To The Same Switch?

Dec 8, 2009

I have a program that attaches to an interface. I can run two copies of the program on two systems (each running one instance), connect it to a switch, say 1.1.1.1 & 1.1.2.1. In this configuration two instances of the program can communicate and everything is fine.

Now, to reduce cost, it want to use only one system with two nics connected to the same switch, running two instances of the above program, each instance attached to two interfaces respectively on the system. I have the following settings:

eth1 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXX
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth2 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXX
inet addr:1.1.2.1 Bcast:1.1.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[Code]...

View 6 Replies View Related

Networking :: 2 Nics In Same Subnet?

Jan 8, 2010

I have 2 x PCs and a NAS. Both PCs have 2x NICS. PC connectivity to Internet is via an ADSL router. Current config: Thus far (by choice) I've used static IPs in the 192.168.168.x range for my internal network, connecting all PCs and NAS via a jumbo frame enabled gigabit switch. This has facilitated moving data between the PCs and the NAS at high-speed. As both PCs also required Internet access from time to time, both are also connected to the ADSL router using the 2nd NIC and using subnet 192.168.1.x. I'm sure some of you are shaking your heads by now, but it works well and has been entirely hassle free.

However, I've an app running on the NAS that I'm keen to get Internet connected also. As my existing network devices are not using DHCP I figured the simplest method would be to change my ADSL router configuration such that it is in the same 192.168.168.x subnet, change its DHCP server settings to serve IPs in the same subnet (but in a restricted range I know won't cause any conflicts with the static IPs) and problem solved. On changing the ADSL router confiruration with all machines already booted up and configured as described above, everything worked. All devices could see one another, and access the Internet. On later rebooting the system this no longer works

- Internet access is fine but PCs don't see one another or the NAS. If I disconnect the ADSL Router from the PCs then all devices see one another again.

- Does having 2x NICS on a single device each assigned unique IPs in the same subnet create an issue and can it be overcome? I'd like to overcome it because making one of my PCs the gateway forces me to have it on anytime another device needs access.

- If I'm forced to use Internet connection sharing with one PC on the network connected to the router, how do I best configure this?

- One of the things I need to retain is gigabit connectivity between the PCs and PCs and the NAS (currently achieved by 192.168.168.x subnet being linked via gigabit switch).

View 4 Replies View Related

Networking :: Routing Between Two NICS On The Same Subnet?

Aug 2, 2010

I'm trying to work out how to route all traffic destined for the internet from all devices connected to eth0 to a wireless router access point via wlan0 on my Slackware box. I also have dhcpd providing ip addresses on the same subnet to any device connected to both eth0 and wlan0.

Diagram:

Code:
____________ ____________
[ ]=============> (wifi) ==============>[ Router / ]
|Workstations| __________ |Access Point| 192.168.2.1
[____________]==>(eth0)==>[ ]<==(wlan0)==>[____________]
192.168.2.253| Server |192.168.2.254
[__________]

If I connect to the router/access point via wireless or directly to the Server via a crossover cable I can obtain an ip address from dhcpd, so that works. As far as I can see I just need to how to route between eth0 and wlan0 then I can provide internet access to those devices!

ifconfig:

Code:

eth0 Link encap:Ethernet HWaddr **:**:**:**:**:**
inet addr:192.168.2.253 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::201:2eff:fe27:aea3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[code].....

View 10 Replies View Related

Fedora Networking :: Find The IP-ADRESS Of A Machine Using The MAC-ADDRESS Within A Subnet?

May 20, 2009

Is there any tool or command where I can track down the IP-ADDRESS of a machine within the subnet using its MAC-ADDRESS .

View 11 Replies View Related

Networking :: Ping Multiple Devices Via Multiple NICs?

May 20, 2010

I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?

View 6 Replies View Related

CentOS 5 Networking :: Multiple Nics With Multiple Gateway ?

Jun 16, 2009

I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:

[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2

but end up with the error:

RTNETLINK answers: Network is unreachable

[root@testsan sysconfig]# cat network
NETWORKING=yes
NETWORKING_IPV6=no[code].....

View 5 Replies View Related

Networking :: Cannot Ping To Machine From Another Subnet?

Apr 23, 2010

I installed apache2 on my Ubuntu machine and I am trying to access the server from another subnet. The server is connected using ethernet and has a static ip address. I can ping from the server to any machine in the other subnet but non of the machine on that subnet can ping the server. iptables does not seem to be running

Code:

# service iptables status
iptables: unrecognized service

and its rules are

Code:

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination

[code]....

What is preventing my machine from being accessed from the other subnet?

View 5 Replies View Related

Networking :: Config DHCP For Multiple Subnet?

Jun 21, 2010

I have a network with multiple subnets from 10.12.056.0 to 10.12.060.0 using net-mask 255.255.248.0 and one gateway 10.12.056.1. I want to setup a dhcp server and wonder how should I config it? All the hosts in the network using the same net-mask and gateway.

View 4 Replies View Related

Ubuntu Networking :: Multiple Ipv6 Routers On A Subnet?

May 6, 2011

I have a 6to4 tunnel running on Ethernet (subnet 2002:ad4c:16cc:1) without problem. It runs radvd and announces a default route back to the Internet like this: "default via fe80::6a7f:74ff:fe0a:fbec dev br0"

On this same Ethernet I have a Linux plugbox (fe80::225:31ff:fe01:cc) which is a gateway to a network of IPv6 enabled sensors. I've assigned this second subnet 2002:ad4c:16cc:2. How do I get the plugbox to announce "2002:ad4c:16cc:2 via fe80::225:31ff:fe01:cc" so that the hosts on the Ethernet (2002:ad4c:16cc:1) will automatically pick up the route? The route works if I add it to the boxes manually. I've tried getting radvd on the plugbox to do this but I've had no success.

View 3 Replies View Related

Networking :: DHCP - Creating Multiple Subnet Pools For Different Hosts?

Jul 16, 2010

I am trying to configure dhcpd to provide two different pools of IPs- one for dynamically named hosts specific to MAC addresses, and another for everyone else.So, a machine with X MAC address connects, gets an IP from e pool, and the server updates DNS with the address under a specific hostname.For the other pool, it just assigns the IP, no DNS updates.The "class" function doesn't appear to allow anything but pattern matching, and I can't find anything that specifies what "allow" and "deny" options therere for the pool command.Here's my config so far - will this do what I want?

Code:
key dhcpd {
algorithm hmac-md5;

[code]...

View 2 Replies View Related

Networking :: VLAN With 2 Router And 2 Subnet - Is Device In Different Subnet Works

Jul 22, 2011

I have TWO L3 + router switch (say switch1 and switch2). I created VLAN100 with VLAN ID 100 in both the switches. I created router 192.168.1.1/24 in Switch1. I created router 192.168.2.1/24 in Switch2. Switch1 is connected with 1.x/24 PCs. PCs are configured with 1.1 gateway. Switch2 is connected with 2.x/24 PCs. PCs are configured with 2.1 gateway. Both Switch1 and switch2 are connected by a trunk to carry VLAN100 data.

1)I have few PCs of 1.x connected to say Switch1 Is it possible for PC with IP 192.168.1.100(x) to ping PC with IP 192.168.2.100(y)?What are the configuration required in both switches to make them communicate ? All the device in both the subnets should ping/communicate with each other.

2)Move PC (192.168.1.100) to switch2. Move PC (192.168.2.100)to switch1.What will happen when PC(1.100) ping (2.100) and vice versa?What will happen when PC(say 1.80 in switch1) pings PC (say 1.100 in switch2) and vice versa? What will happen when PC(say 1.80 in switch1) pings PC (say 2.100 in switch1) and vice versa?

View 2 Replies View Related

Networking :: Can't Browse Computer Of One Subnet From Another Subnet

Jul 4, 2011

I installed Redhat Enterprise linux server5. it has two LAN card and two subnet connected to these two LAN card. i can browse network from these two network easily. But i created VLAN on one network card.Now i cant browse network from these VLAN subnet.

View 3 Replies View Related

Ubuntu Installation :: Bonding Multiple Wireless NICs?

Nov 20, 2010

I have an Asus R1F laptop with a build in wireless card. I also have 2 USB dongles that we used to use old desktop machines. All of the cards work fine in Ubuntu. I'm running Ubuntu 10.10, 2.6.35-22-generic-pae.

The problem is that I have really bad signal on my side of the house and the connection is dropped quite often. I've tried just connecting on the devices at the same time, they all connect fine but nothing actually works. I read about bonding interface cards on this blog and that would solve all my problems - if a usb dongle could act as a backup for when the normal connection is dropped and while it is reconnecting.

I tried what was written and also did some Googling, but every way that I try seems to work fine until 2 wireless devices are bonded. When that happens they both disconnect and reconnect like crazy. This happens both with and without network manager running.

Build in card[wlan0]: Intel PRO/Wireless 3945ABG
USB[wlan1]: Cisco LinkSys Compact Wireless-G USB Adapter
USB[wlan2]: Realtek RTL 818713 WLAN Adapter
I load the module:
Code:
modprobe bonding mode=1 miimon=100 downdelay=200 updelay=200

[Code]...

View 2 Replies View Related

Ubuntu :: Multiple NICs, Route Traffic Based On IP?

Apr 22, 2011

I have an Ubuntu server box with multiple NICs. I'd like to specify that all traffic bound for a certain IP range goes through one NIC, and everything else goes through the other. Does anyone know how to do that? I'm not a total newbie, but I'm also not a linux guru (but usually can google my way to a solution...usually).

ETA: Source and destination IP for routing.We have 1 NIC with a public IP, all public IP's should talk to it.Another NIC with a private IP, all private traffic should talk to this.In practice, I have some devices on a different subnet of the public IP range we have that will only talk to the private IP.

View 2 Replies View Related

Fedora Networking :: Two NIC's Can Be Bridge Together Even Though They Are The SAME Subnet?

Aug 9, 2009

I have 2 NIC's in a box. One of them is external and doesn't matter for this question I don't think.

The other NIC is 192.168.100.3. It hosts an iSCSI Target and SMB Share on my LAN. It's works great.

I have another PC that has NIC at 192.168.100.101 and it hosts my DHCP (Scope: 192.168.100.5-25) server for my LAN.

I have a hardware firewall at 192.168.100.1 and it serves inet to the LAN on a different external connection.

So...

I currently have a WAP (cheap p.o.s. netgear router in WAP mode that keeps overheating). I want to eliminate the WAP device and add a WiFi NIC to the Top PC above.

So, on the first system I would have:

NIC 1: External IP and External Gateway
NIC 2: Static IP 192.168.100.3
Proposed WiFi NIC 3: Static 192.168.100.4

Question:

If I bridge NIC 2 and NIC 3 like this:

# brctl addbr br0
# brctl addif br0 eth0
# brctl addif br0 eth1

Then I simply put the WiFi in Ad Hoc, will another WiFi in Ad Hoc (for example my laptop) be able to "see" 192.168.100.101 (DHCP) & 192.168.100.1 (Gateway) (via WiFI 192.168.100.4 through the bridge to 192.168.100.3 and on to the LAN)?

Also, can the two NIC's be bridge together even though they are the SAME subnet?

View 1 Replies View Related

Fedora Networking :: Nics Reordered And Not Found?

Apr 12, 2009

I have a server that provides the access to the net. It has 3 nics 2 Realtek 100mb and a ne2000 isa 10mb card for the net. I ran an update from a working configuration on Fedora 9 to Fedora 10 with yum upgrade. Fedora 10 does not find the the ne2000 at boot time. After booting I can modprobe ne and the nic is found in a new network restart call. Has something changed how modules are loaded before udev runs?

Then there is the problem that nics are assigned the wrong interfaces(eth*). I have configured it in sysconfig with the files ifcfg-eth(0-2). I do not run NetworkManager. Has something changed in the configuration how the interfaces are assigned to the nics via the mac addresses?

I have tried to change the net profile of udev but since the ne2000 is not found at boot time but had no success. And one of the Realtek nics is not found at some times.

View 2 Replies View Related

Fedora Networking :: Both NICS Always Boot Up With Eth0

Feb 4, 2010

I'm using Fedora 12 on a box with 2 separate NICs in different subnets. The problem is that after a reboot, both NICs always show up as eth0 when you left click on the networking icon on the top right. I have to manually change one of them to eth1 & then things start working.

DEVICE=eth0
HWADDR=(mac address)
BOOTPROTO=none
TYPE=Ethernet
ONBOOT=yes

[Code]....

View 1 Replies View Related

Debian Installation :: Get Preseed Working On A Bunch Of Machines With Multiple NICs?

Mar 15, 2011

I am trying to get preseed working on a bunch of machines with multiple NICs but it doesn't pick the right interface and/or gets "no link" on all interfaces. My PXE kernel line looks like so (I have auto=true priority=critical and interface=auto)

label squeeze
kernel debian-installer/squeeze/i386/linux
append vga=788 initrd=debian-installer/squeeze/i386/initrd.gz auto=true priority=critical ramdisk_size=10800 root=/dev/rd/0 rw url=example.com/d-i/squeeze/preseed.cfg interface=auto netcfg/dhcp_timeout=60

[Code]...

View 13 Replies View Related

Fedora Networking :: Dual NICs And Internet Connectivity On F10

Apr 23, 2009

I've just installed Fedora 10 to basically work as a NAS for another machine - but also serve a couple of web pages. After having alot of issues with network manager (with it changing the subnet so nothing would work), I'm now almost there:

I have two network cards connected in the server:
1) eth0 connects to a switch that ultimately connects it to the net (on a 10.0.0.* network)
2) eth1 connects directly into another server for backups (192.168.0.* network).

Now when I setup eth0, I get network access can ping/ update/ surf the net - absolutely no problems, but when I connect eth1 in - the net dies and nothing works, I can ping devices on both the 10.0.* and 192.168.* networks, just nothing past the gateway. I presume this is either a route or DNS issue, but am unsure about where its falling foul - both the resolv.conf file looks fine as do the ifcfg-ethx scripts.

View 1 Replies View Related

Fedora Networking :: Routing: 2 HW-Routers, 2 Nics On 1 Server?

Mar 19, 2011

i have a Server, which has 2 nics installed. Each of those is connected to a router, which is connected to internet. On the server, i have apache, maillserver and im-server running. On the other hand, also squid, dansguardian and clam are running. so now: via eth0 i would like to have just the traffic, which is requested from outside (the big bad internet..) to my server (apache, mail, etc). via eth1 i would like to have all OUTGOING (also to the big bad internet) from the server, which is requested by a internal client. And of course all requests to my own server

both nics shall route their traffic to their own router. For better comprehension please consult the enclosed graph. Until now, i did not find a good solution, the default route is set to the traffic from eth0, if not, no external request will find back to a client do you have a idea how to handle this the easiest way?

View 4 Replies View Related

Networking :: Use Multiple Dhcp Subnets On Single Machine?

Dec 13, 2010

I am find myself in need of building what amounts to 3 ip networks on 1 physical lan.

first LAN is another companies network on the 10.0.0.0 network a mix of pc's and equipment

second is LAN new company network 192.168.168.0/24

third network is an ip phone system for both i would like to use 192.168.200.0/24

i am hoping to use the same dhcp server to do this, assigning address to the old company's 10. network via mac address reservation.

View 9 Replies View Related

CentOS 5 Networking :: Adapter Failing Intermittently On Multiple Machine?

Jan 25, 2011

We have two recently installed centos machines, each running 5.5, and hosting an elastix pabx distro as well as a Virtual PC instance. On both machines, the network adaptor fails completely every week or so. As they are remote machines, the only option we have when this happens is a manual reboot.

I might be barking up the wrong tree here, but the only significant difference on these machines to others we have deployed is the Virtual PC instance. The machines have dual ethernet ports, with one assigned to the virtual PC. When the network failure occurs, it does not effect the virtual machine, which continues along merrily.

My expert colleague does not think so, but can anyone think of any way that our configuration could be causing the problem? If not, does anyone have any ideas on what the problem could be, or where I would start looking for information on the machine to debug the issue?

View 6 Replies View Related

Fedora Networking :: Bridging NICs - When Use Brctl Command - Create A Bridge It Doesn't Let Add Wireless Card

Jul 9, 2010

I want to connect my modem straight to my fedora 13 box, using it as a firewall, and I want to use my wireless card to set up an ad-hoc to give internet to the windows computers in my house. My router has been messing up and I am trying to create a quick fix until I can solve the problem.

My eth0 has internet connectivity but when I use the brctl command to try to create a bridge it doesn't let me add my wireless card, wlan0, and also I lose internet while my eth0 is in a bridge. I am fairly new to Linux.

View 2 Replies View Related

Ubuntu Multimedia :: Multiple Machine Multiple Display Wall?

Aug 4, 2010

We are working on a project to create a display wall of 8 monitors arranged as 2 high by 4 wide. Each monitor is connected to a single machine and all machines are networked with a master machine with its own, seperate monitor.

Our goal is to get the 8 machines to share a single desktop, with the master machine acting as the server. We have looked at using Xinerama or NMM, but we are unsure about how to get started configuring the multi-machine, multi-head display.

View 2 Replies View Related

Fedora Hardware :: Multiple Display Drivers For Virtual Machine?

Feb 25, 2010

I have a MacBookPro5,1 system that can boot into Fedora 12 x64 as well as Mac OS X. My installation of Fedora is set to use the nVidia graphics drivers to provide 3D acceleration when running the operating system natively. I have installed VMware Fusion on Mac OS X, and I can use it to boot my installation of Fedora into a virtual machine. However Fedora refuses to go into X Windows and just sits there with a blank screen. I can use Ctrl+F2 to switch to a command line and log into the system through the command line interface.

I'm not exactly sure why this is happening. However, I suspect that it is because when the system runs virtually, it does not make use of the nVidia graphics card. Instead VMware Fusion provides a virtual VMware SVGA 3D adapter. What would it take so that Fedora would use a driver that is compatible with this virtual display adapter when running in a virtual machine, and then use the nVidia driver when the system boots natively?

View 10 Replies View Related

Fedora :: Yum Import/export Ability (for Multiple Machine Syncing)?

Mar 5, 2010

I am curious if yum can be used to export a list of packages from machine 'A' then I can take it to machine 'B' and import/install the list so my machines all have the same software.

View 4 Replies View Related

Fedora :: Different Multiple Workspace Behavior On Dual Head Machine?

Jun 1, 2011

I'm getting used to gnome3 one thing still bugs me- why when I switch workspaces on my multiple monitor machine does only the primary monitor change to a different workspace? The secondary monitor (my laptop screen) shows all open windows I put on it plus it's not even shown in the workspace list.

View 2 Replies View Related

Fedora Networking :: Getting A Machine To Update Its Machine Name In The DNS ServerSounds Doesn't?

Feb 20, 2011

I have an issue with the manner in which Network Manager is configuring the network and short of ditching Network Manager I can see no solution.The issue : Getting a machine to update its machine name in the DNS serverSounds simple doesn't it I operate a FreeBSD based firewall / DHCP / DNS server, using a default Network Manager DHCP configuration the Fedora clients do not register their names with the DNS server when they obtain an address.

I have traced the communications with Wireshark and the Fedora clients are NOT supplying the PC's hostname as part of the exchange so this is NOT a DNS server configuration issue. If I uncheck the option 'Automatically obtain DNS information from provider' under the DHCP settings the Fedora clients DO register the hostname that is put into the Hostname (optional) databox. They do NOT however store the DNS server IP address or any other records defined by the DNS server.

Is there some hidden settings or is this a bug because it isn't acceptable 'DHCP' behaviour if it isn't possible to automatically set DNS server IP addresses and at the same time register the hostname during the DHCP negotiation. Before it is said I know I can use a fixed DNS IP address but am not prepared to long term, I am also not prepared to define the Fedora clients with a 'static' IP. I am similarly not interested in playing around with scripts or any other such 'frigs' to achieve what should be a standard activity - registering a host with DNS during the DHCP negotiation.

View 3 Replies View Related







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