Sponsored Content
Special Forums IP Networking Routing problem : two interfaces one gateway Post 302920490 by gencaslan on Thursday 9th of October 2014 03:27:11 PM
Old 10-09-2014
Routing problem : two interfaces one gateway

hi folks,

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 :

Code:
route 

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 br0
192.168.2.0     *               255.255.255.0   U     0      0        0 wan0
default         192.168.2.1     0.0.0.0         UG    0      0        0 wan0

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

10 More Discussions You Might Find Interesting

1. IP Networking

Network interfaces problem

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)
Discussion started by: vilius
0 Replies

2. SCO

Network interfaces problem

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)
Discussion started by: vilius
0 Replies

3. Linux

Routing via several interfaces for hosted virtual machines

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)
Discussion started by: bakunin
0 Replies

4. Linux

GNUGK-How to setup static gateway to gateway routing

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)
Discussion started by: mfondoum
0 Replies

5. Debian

/etc/network/interfaces problem

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)
Discussion started by: learn82
5 Replies

6. IP Networking

Problem when I Open my WireShark - No Interfaces Option available

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)
Discussion started by: andresguillen
2 Replies

7. Solaris

Routing problem

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)
Discussion started by: sri243
1 Replies

8. AIX

Problem with multiple network interfaces

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)
Discussion started by: RonBowater
4 Replies

9. IP Networking

Network Interfaces Problem - Monitoring equipment

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)
Discussion started by: andresguillen
0 Replies

10. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

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)
Discussion started by: tanpeng
6 Replies
mrinfo(1M)																mrinfo(1M)

NAME
mrinfo - Multicast Routing Configuration Information Tool SYNOPSIS
debuglevel] retries] timeout] [ multicast-router ] DESCRIPTION
requests the configuration information from the multicast-ourter, and prints the information to the standard out. multicast-router can be either an IP address or a system name. sends out the ASK_NEIGHBORS igmp message to the specified multicast-router, when the router receives the request, it sends back its configuration information. If the multicast-router is not specified, the request is sent the local router. The the configuration information for each interface is printed in the following format: If there are multiple neighbor routers on one interface, they will all be reported on the output. The possible values for flag are: Neighbors are reached via tunnel. The tunnel uses IP source routing. The interface is down. The interface is administratively disabled for multicast routing. The local router is the querier of the subnet. Please see mrouted(1M) for and The command line options are: Sets the level for printing out the debug message. The default is 0, only error and warning messages will be printed. Debug level three prints most the messages. Sets the retry times to pull the routing daemon for information. The default is 3. Specifies the timeout value in seconds for waiting the reply. The default value is 4. EXAMPLE
The following is an example of quering the multicasting configuration from the local routing daemon. 127.0.0.1 (localhost) [version 3.3]: 15.13.106.144 -> 15.13.106.145 (hpntcbs.cup.hp.com) [10/1/querier] 193.2.1.39 -> 0.0.0.0 (all-zeros-broadcast) [1/1/disabled] 15.13.106.144 -> 15.255.176.33 (matmos.hpl.hp.com) [10/1/tunnel] 15.13.106.144 -> 15.17.20.7 (hpspddc.vid.hp.com) [10/1/tunnel/down] Note must be run as root. AUTHOR
was developed by Van Jacobson. SEE ALSO
mrouted(1M), map-mbone(1M). mrinfo(1M)
All times are GMT -4. The time now is 05:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy