i have a horstbox-router with the following configuration.
it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch).
this configuration results in the following routing table :
so the router has internal acces to internet and can use voip from lan port 1 (wan0) which is the connected with a cable to my home network.
but on the other lan-ports i don't have internet acces or even acces to my home network. because it has no default gateway ?!
what command can i use to connect the interfaces br0 and wan0. or is it possible to route the traffic from br0 to wan0 ?
thanks in advance
Last edited by gencaslan; 10-09-2014 at 04:42 PM..
there are 4 blue ethernet ports. i am sorry but i have no deep knowledge in ip.
the first lan port (wan0 interface) is connected to my home network like i noticed before. if i connect with putty to the router on a shell i can ping an internet address. so the traffic seems to go over the wan0 interface and the standard gateway 192.168.2.1. thats good and ok.
but if i connect another device on lan port 2 -4 (br0) it gets no ip address from dhcp. there is no connection to my home network.
i am not sure what is the solution to this problem because of my limited knowledge to ip.
but the solution to me should be that when i connect another device to lan port 2-4 (br0) it should get acces to my home network (dhcp, internet etc).
If you wanted your router to route, you would have its IP address be the gateway for the things behind it.
If you don't want it to do any routing at all and just join all the ports together in a big virtual switch, make them all part of br0. Note that firewall rules still apply to traffic forwarded over a bridge.
i found out that there is the command brctl. it was in another directory which was not in the path. the output is the following.
again the output of route is
ip route show delivers
ip link show delivers
i think i need to remove br0 and bridge wan0 to eth1. but i am not sure.
again wan0 is the ehternet port which is connected to my homenetwork (switch).
if i try to remove the interface from the bridge br0 i loose my ssh-connection to the router. so this is no option. removing the bridge does not work because it is denied by brctl. i am a little stuck right now because of my limited knowledge to ip.
i repeat myself but with the recent permanten configuration the internal sip-telephony which needs access to internet works. for a solution i need a simple command that i can enter from the console to use the lan2-4 ports.
any ideas ? thx in advance.
Last edited by gencaslan; 10-11-2014 at 07:49 PM..
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Dear gurus of Linux / Unix.
I have a server, which I use to monitoring traffic, the problem that I find is when I run the following command:
probe:~ # sar -n DEV 1
I see that I one second appear info in some interface and in the other second no appear, I don't know what will be the... (0 Replies)
Hi .. we have two AIX 5.3 systems with a small client server app communicating over a TCP socket.
Box A has a single network interface where the server app (in Java) opens a well known port and waits for connections from Box B.
Box B has two network interfaces, X and Y. Interface X has the... (4 Replies)
Hi,
I have two physical interfaces on a servers.
We have connected them to differerent subnets.
1) First interface:
10.158.49.87 to newtwork 10.158.49.0, its gateway is 10.158.49.1
(It is added as default gateway)
It is existing set up. It works well
2) Second interface:
... (1 Reply)
Hi gurus of unix, I haved installed my openSolaris in a HP530,
Recently I use the following command
beadm destry opensolaris1
beadm destry opensolaris2
After That I reboot my Laptop.
Well when I go to my work I try to open my wireshark tool, but the option in GUI interface does not appear!!!... (2 Replies)
Hello
i am configuring a debian lenny sever ,/etc/network/interfaces is modified so that eth1 takes a static IP address
then i save it wq!
then i restart the networking , /etc/init.d/networking restart .
but after reboot ,the file is reset ,note that the interfaces had by defauklt IPv6 address... (5 Replies)
Dear Sir
I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper.
I am having a problem, configuring static call routing on GNUGK
in the section
... (0 Replies)
My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Hi,
I have problems with my SCO unix network interfaces.
Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot.
Installed driver using SCO Software manager - successfully
Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)
Hi,
I have problems with my SCO unix network interfaces.
Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot.
Installed driver using SCO Software manager - successfully
Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)