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


ADVERTISEMENT

Networking :: Configuring Xen Bridge (2 VM Inside) Under Same Subnet

Apr 28, 2010

I have installed a Xen with 2 VM's inside. They are all under the same subnet. The Xen machine can see the outside network but both machines in it cannot.
How do I create the bridge correctly (to xenbr0 i guess) so it fixes this?

Here's what I tried: It's RHEL5.3
1. '/etc/sysconfig/network-scripts/ifcfg-eth0' is ok on both VM's
2. iptables service is disabled, system-config-network shows IP,DNS, GW are correct.
3. On the VM's the route -n shows the gw ip though I cannot ping it.
4. checked hosts.allow, hosts.
5. In '/etc/xen/xend-config.sxp' unmarked:
(network-script network-bridge)
(vif-script vif-bridge)
6. in xen/<images_location>/ I modified vm.cfg so vif = [ 'ip=10.2.0.54' ] for one of my virtual machines.
7. I cannot however find '/etc/network/interfaces', can anyone advise if actually in my case it's the ifcfg-eth0?
8. I basically followed the Bridged Networking scenario in Xen Networking: [URL]

Ifconfig on the Xen Parent:
[root@XEN_PARENT]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:56:8B:3A:E4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:130021 errors:0 dropped:0 overruns:0 frame:0
TX packets:75097 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10315149 (9.8 MiB) TX bytes:12038346 (11.4 MiB)
Interrupt:17 Base address:0x2000 .....

View 4 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

Networking :: Setup A Bridge Using Bridge-utils Within /etc/network/interfaces?

Dec 8, 2008

I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: [URL] The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration.

View 3 Replies View Related

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 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

Fedora Networking :: How To Setup Bridge

Oct 4, 2009

I tried google but without success. I have a small home network and one computer has to work as a bridge (comp1), it connects to the internet through wlan and is connected with cable to other computer (comp2), I would like to to make that second computer member of a local network with internet access.I was trying this:

Code:
ifconfig wlan0 0.0.0.0
ifconfig eth0 0.0.0.0
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 eth0

[Code]...

View 8 Replies View Related

Fedora Networking :: Bridge Internet Connection In 7?

Jul 3, 2009

I want to connect my dataone broadband connection in bridge mode in fedora 7. As i am currently using a bridge connection through this modem (smartAX MT882) in win XP, i want a bridge connection in fedora 7 too to access the internet from linux. I have gone through some forums discussing this issue. somewhere i have found the option "adsl - setup" and tried it in my fedora 7. But it is showing the message "adsl- command not found" on this issue. I need a detail step by step procedure for brigde connection using datone in fedora 7.

View 3 Replies View Related

Fedora Networking :: Setting Up A Bridge With No IP Stack?

Aug 3, 2009

I'm trying to set up a Linux box with three ethernet interfaces as a bridge where I can do some packet filtering. I don't want this box to have any IP stack, packets that are allowed through the filter should be forwarded without changes just the way a switch would do it. I have build a kernel with ethernet support but no IP stack. It detects my interfaces, and I can bring them up with the ifconfig or ip commands. But when I try to start a bridge with brctl I get this error message:

can't setup bridge control: Address family not supported by protocol

A google search for that error message gave me no results at all. The command I used was "brctl addbr br", which does work on a full installation. Does brctl require IP support in the kernel? That would be a bit odd I think, since brctl doesn't do anything IP related, everything it does is at lower layers?

Does anybody know what the above message means, and what I might have been doing wrong?

View 3 Replies View Related

Fedora Networking :: Cannot Forward Internet Over Bridge?

Feb 27, 2010

What I am trying to do: bridge 2 NICs in my linux box eth0 connects to linsys router (which in turn connects to internet) eth1 connects to Xbox 360

What I did:

Code:
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr br0
brctl addif eth0
brctl addif eth1

[Code]...

I'm sure this is a bridging issue and there is just some option I'm not setting correctly. Also, the reason I'm connecting the Xbox 360 directly to the linux box and not to the router is for traffic monitoring purposes. Note that all connections and functionality work perfectly when the Xbox IS connected through the router.

View 7 Replies View Related

Fedora Networking :: Iptables On Bridge Ports?

Apr 21, 2011

I'd like to pass all traffic between bridge ports via the FORWARDING chain, so I changed following sysctl parameters:

Code:
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1

[code]...

View 1 Replies View Related

Fedora Networking :: How To Bridge Wired And Wireless Connections

May 29, 2009

My current network setup at home is all wired, and that's worked for me so far. Now I want to set up a wireless connection on my Linux box that I can connect to with both my laptop and my Nintendo DS. I'd like to be able to host a wireless network from the Linux box, connect to it with some other wireless device, and have the wireless device communicate with the router, the internet, and other computers on the wired network. I have the wired network set up (statically configured) as eth0. Other network adapters present on the system are eth1 (not in use) and wlan0, wlan1, and wlan2 (identical cards, remnants from the last time I experimented with wireless).

So I guess my question comes in two parts:
1) How do I set up wlan0 such that it can host? Is Ad-hoc mode okay for this, or do I need to set it up in Master mode?
2) How do I forward connections between the wireless net and the router?
Note that I will be using WEP, as it is all that the NDS supports. I'd like to set up MAC filtering as well, but not until after I get something that works.

View 11 Replies View Related

Fedora Networking :: Make ADSL Bridge Connection In 10?

Oct 2, 2009

"I am new to Linux. Could you please guide me how to make ADSL bridge connection. I have tried to make connection using Network manager. But, it some times works and some times doesn't works."

View 1 Replies View Related

Fedora Networking :: Configure A Network Bridge To Start On Boot?

Nov 5, 2009

How do I configure a network bridge to start on boot?

I have two network interfaces eth0 and eth1.

Here is my current network script configuration:

Code:
#/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
HWADDR=00:10:18:4e:5e:a7

[Code]....

The bridge will come up if I restart the network service after boot....but it won't automatically come up when the computer starts.

View 4 Replies View Related

Fedora Networking :: Network Bridge Setup Disappears After Reboot

Nov 18, 2009

I am trying to set up bridge, and everything seems to be ok, except 1 thing, it disappears after reboot. So, what I am doing:

Code:
brctl addbr br0
brctl addif br0 eth0
and adding /etc/sysconfig/network-scripts/ifcfg-br0, here it is:

Code:
GATEWAY=192.168.1.1
DEVICE=br0
BOOTPROTO=none
NETMASK=255.255.255.0
DNS1=208.67.222.222
DNS2=208.67.220.220
TYPE=bridge
HWADDR=00:18:f3:75:18:78
IPADDR=192.168.1.3
IPV6INIT=no
ONBOOT=yes
USERCTL=no
and my ifcfg-eth0 is:

Code:
GATEWAY=192.168.1.1
DEVICE=eth0
BOOTPROTO=none
NETMASK=255.255.255.0
DNS1=208.67.222.222
DNS2=208.67.220.220
TYPE=bridge
HWADDR=00:18:f3:75:18:78
IPADDR=192.168.1.3
IPV6INIT=no
ONBOOT=yes
USERCTL=no

How to make it working after reboot?

View 1 Replies View Related

Fedora Networking :: Connect To Internet (ADSL) By Laptop (Bridge)?

Nov 24, 2010

My Laptop can Connect to my wireless modem device, but I don't know How can I connect to internet (ADSL) by My laptop (Bridge)?

View 6 Replies View Related

Fedora Networking :: Hostapd - Create A Bridge Between Wlan0 And Eth0

Feb 3, 2011

what i want to do is

client <--> wlan0 <--> computer <--> eth0 <--> internet

i have 2 network connections eth0 wired connected to internet wlan0 wireless (work fine) i have installed hostapd with madwifi and so on oki when i run hostapd the clients see the hot spot oki clients connect with wpa oki network manager run at demand not automatic (keep it for internet help) now i'm a bit lost what do i need is wlan0 give the client an ip (dhcp demand) create a bridge between wlan0 and eth0 steps to create a permanent bridge between wlan0 and eth0

View 2 Replies View Related

Fedora Networking :: Accesspoint With Hostapd And Bridge Can't Add Iface Wlan0

Feb 22, 2011

I have setup hostapd and a bridged setup with br0 bridging eth0 and wlan0. The setup works but unfortunately not on bootup. The reason is that the bridge can't add iface wlan0 because it is down for some reason at this time. When hostapd is running (after the network script) the interface is up and can be added to bridge via

[Code]....

View 2 Replies View Related

Fedora Networking :: Transparent Bridge (Packets Execute Servlet Filter)

Feb 26, 2011

I am new to fedora and I've installed fedora 14, I want to know what are the steps to make my machine act as a transparent (IP-less) bridge? Second, after setting the bridge, I want to make all the packets that passes through the bridge execute a servlet filter (to make some tests and add cookies) is it possible? Is there a simpler way to do those tests on the packets and add cookies?

View 4 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

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 :: Access IP From Outside Subnet

Dec 26, 2010

I am trying to make Apache web server, it's work but cannot be browsed outside my subnet.I am on huge LAN network, not sure how it works, know it have TL-SL2428WEB Smart Switches and probably some kind of DHCP, every user have maximum 64KB, just plug UTP cable, and I have static address on that subnet like: "my.sub.net.ip" witch I know from Java NetworkInteface class or when I try to update IP on my www.dyndns.com Dynamic DNS account with ez-ipupdate, but my subnet is connected to Web with another IP like "my.isp.provider.ip" witch I get from whatismyipaddress.com and I check that is my Cable ISP provider web IP. It is possible that there is more subnet layers between these two IP.Problem occurs when I try to access to my web site from another computer. When I set dyndns host name to be my.sub.net.ip or use localhost everything works fine from my computer, I can access my web site, Apache work, I can use ssh. To illustrate you it work like this: Go to DNS server, find my host name, get my "my.sub.net.ip" and say "This is actually my localhost IP, no need to go on Web, lets loopback". But when I try from another computer even from my college's computer on same subnet it don't succeed. When host name is set on "my.isp.provider.ip" of course nothing works.

We, users of LAN, don't have access to our LAN nor we have admin. For example sometimes we stuck without net and we cannot even press reset button on switches or something like that, we have to wait for day to they, owner of LAN, order some professional to do that. It seems they are just user of Cable TV and IP, and they bay and install LAN without any kind of admin. Also, I use Fedora 13, with httpd, ssh and others packages that comes with Fedora 13 DVD. I know to write bash scripts, use yum, very good in C++ and Java, great programmer, but newbie in networking, , a very little Perl, html, web servers, I heard for DHCP, DNS, NAT, IP forwarding. How you see it is problem in my lack of knowledge about networking. I hope that I succeed to describe by problem with enough details. Please, try to help me. I be very graceful for any kind of help. Don't afraid to bomb my head with any kind of information hard to understand.

View 7 Replies View Related

Networking :: Gateway In Other Subnet

Jan 1, 2011

I've rent a server from a Germany data center,They use a single IP as their gateway that is not in range of my servers IP,Strangly server is working well and when I use 'route -n' command the gateway which is in other subnet appears properly./etc/sysconfig/network contains no gateway IP and I don't know how they set the default gateway while after reboot the gateway is the same, also the IP is static and there's now DHCP.I need to know how they did it so I can do the same on my VPSes.

View 1 Replies View Related

Networking :: How Subnet Masking Works

Nov 15, 2010

I have read NUMEROUS tutorials and explanations on the net about this, but they all seem to assume an informed understanding of IP networking. I have limited knowledge (basically I know how to set up my own home network and use the normal commands for troubleshooting.).I am doing a project at work which requires networking our new store with our original store (throughA VPN).I am just trying to understand in the most basic way how sub netting and subnet masks work. I don't believe this is necessary knowledge for setting up the network via VPN, but I would just like to understand it and I feel like I will be prepared to study further. basically:

1. How does a network mask isolate a particular host on a network?
2. How does changing the mask allow for more addresses to be used?

For example, if my address is, say, 192.168.1.36, how does 255.255.255.0 isolate my machine to receive traffic? I suppose what I am really not understanding is how it does this with more than one host on the network with the same mask.

View 11 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 :: Can't Set Default Gateway To Different Subnet / Do That?

Feb 3, 2011

This is slackware 12. I'm trying to share my internet connection (on eth0) with a computer connected to eth1.

eth0 is 192.168.0.101, eth1 is 192.168.1.100 (different subnets).

But when I try to make eth1's default gateway the same as eth0's, see the error I get code...

View 7 Replies View Related

Networking :: Connecting To A Printer On Another Subnet

Aug 19, 2010

I have some trouble setting up a printer on my network. My network is divided so that all wired connections are in one subnet, while all wireless devices are in another. My printer is Canon MP640 and is connected via wireless. When I use the network printer scanner utility from Canon, it will only scan my wired subnet, and is thus unable to see the printer. I can ping the printer, so there is no problem with subnet segregation.

On my router, I have Debian and iptables. My initial thought was that I could somehow set iptables to just forward all packets to an address to my printer. This address, of course, wouldn't exist "physically". But I have no idea whether or not this is the right approach. A suggestion I received from a colleague was to set up forwarding of broadcast packets. However, I am unsure whether this will have an impact on the wired subnet. If any of you could conjure a magical iptables rule for this or have suggestions other than plugging the printer into the wired net

View 5 Replies View Related

Networking :: Default Gateway On Different Subnet?

Jan 8, 2010

I am in a big confusion and searching an answer to calm down my mind.I have my eth0 has following configuration

` ` `
IP 192.168.1.100
mask 255.255.255.0

[code]....

View 3 Replies View Related

Networking :: Forward Reverse Dns Subnet?

Mar 25, 2010

I have the zone record 0.16.271.in-addr.arpa which is working fine.

The NS for that zone is setup for my own name server.

I however would like to forward requests for 172.16.0.224/28 to another name server. How would I do this?

View 1 Replies View Related







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