Multiwan routing problem
location: linuxquestions.com - date: August 16, 2012
I am trying to setup a router with a fail over mechanism.
Here is the configuration.
eth0 - Connected to ISP1 (high speed unlimited)
eth1 - connected to ISP2 (slower speed limited)
eth2 - connected to the LAN (IP Address 192.168.55.1/24)
In clearOS I have configured multiwan so that eth0 has a weight of 4 and eth1 of 1. I have not configured the DHCP server on the router machine. The idea is to use the secondary connection (eth1) if the primary one(eth0) fails.
I have hardcoded the nameservers (in resolv.conf) to 126.96.36.199 and 188.8.131.52 and prevented overwrites of resolv.conf as the switch over does not seem to handle this properly.
On the work station side the configuration is as follows:
Note: ClearOS han
Linux Firewall/router routing problem
location: ubuntuforums.com - date: July 17, 2012
i have a problem for a long time with linux routing. Perhaps somebody can help me.
I dont get any help by search with google
I have 2*Windows 7 PCs and 2*Gentoo Linux Firewall/Router.
The Gentoo Router have both a ppp0 interface to the internet.
I made a image with visio to understand the situation.
The main Problem is to make a RDP Connection from Windows 7 PC 1 192.168.50.10 to Windows 7 PC 2 192.168.70.123.
The only way for this to work is when i use the command "route add 192.168.50.0 MASK 255.255.255.0 10.10.0.250" on the Windows 7 PC 2 as you can see in the image.
The question is why do i need to add that route to every PC in the 192.168.70.0/24 net so that the RDP work, although i have a coresponding route at the Gentoo Router 192.168.70.1 ?
can someone help me?
what did i do wrong?
ARP not responding? (routing problem)
location: ubuntuforums.com - date: April 23, 2011
I have virtualized a router and ubuntu, and i have a real router (gateway) which is 192.168.1.1
.......... 192.168.100.0/24 ............................ 192.168.1.0/24 ............................
UBUNTU (.2) -----> (.1) VIRTUALIZED ROUTER (.103) -----> (.1) REAL ROUTER
When ubuntu (192.168.100.2) pings something, the reply never comes back.
I was tcpdumping eth1 of virtualized router and discovered than when REAL ROUTER (192.168.1.1) ARPed for 192.168.100.2, seem he never get any reply from virtualized router (at least that is what I think might be causing the problem). packet forwarding is okay.
What could be the problem?
Routing problem with 2 network interfaces
location: ubuntuforums.com - date: January 18, 2012
I've a base (physical) machine with two network interfaces. This machine hosts two virtual machines. From one of the virtual machines I have no problems with network access. With the second one, I have no network access. I think the problem is in the base machine routing configuration.
Here is the configuration of each one of the machines:
Base machine: 192.168.3.4
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet static
# dns-* options are implemented by the resolvconf package, if installed
# The DMZ network interface
iface eth1 inet static
Wierd Advanced Routing Problem
location: ubuntuforums.com - date: December 23, 2012
I have an advanced routing problem here.
I need the advice of a Networking Expert or a CCNA/CCNP level administrator.
The problem can be found here:
I have changed the IP addresses to simplify the output.
As you've noticed, I have 2 networks: 192.168.0.0/24 and 192.168.1.0/24 linked to the Router.
192.168.0.0 - is an Ethernet Network.
192.168.1.0 - is a Wireless Network.
My Laptop is running Ubuntu Linux and my router is running Gentoo Linux.
I have connected the Laptop to BOTH the 192.168.0.0 net (via eth0) and to 192.168.1.0 net (via eth2).
So my routing table looks like this:
default via 192.168.0.1 dev eth0 proto static
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2 metric 1
192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.1.2 metric 9
The PROBLEM: When I ping the Wireless Interface of the Laptop (192.168.1
location: ubuntuforums.com - date: January 14, 2009
I have two linux boxes acting as routers between two buildings.
Traffic is 100 percent between machines on both subnets (not including the linux boxes)
192.168.7.7 can talk to 192.168.1.40 and vise versa.
I am working on lnxcorp.
"ping 192.168.7.7" results in 100 percent packet loss.
"ping -I 192.168.1.220 192.168.7.7" works great.
So basically each linux box cannot see the "other" sides subnet. But the problem only exists on the linux boxes. The clients on both subnets see each other just fine
192.168.1.0/24 - corp network
192.168.1.220 - eth0 lnxcorp
192.168.2.100 - eth1 lnxcorp
192.168.2.101 - eth1 lnxiii
192.168.7.220 - eth0 lnxiii
192.168.7.0/24 - iii network
addresses of a server on each network
192.168.1.40 - machine on corp network
192.168.7.7 - machine on iii network
Routes added to linux boxes
# connects eth1's between buildings
!!!route add -net 192.168.2.0 netmask 255.255.255.0 dev eth1
Very strange routing problem
location: ubuntuforums.com - date: September 26, 2008
I've stumbled accross a bit of a strange issue with routing when using a linux server as the gateway for my network's windows machines.
What happens is that if I set the default gateway on my XP desktop machine to point to my windows server (which is sharing an internet connection with rras), routing works normally; but if I set the gateway IP to my linux server, then every internet IP I access gets added to the dynamic active routes on the windows box automatically, as if there was some kind of route pushing going on, and so I end up with a long list of IP's in my windows box's routing table, which is annoying because if I decide to change those routes on the linux box, it doesn't reflect recursively on the windows clients so they point to the wrong destination.
Here's an example of what I'm saying
Let's say 192.168.0.2 is the windows server with the internet connection, 192.168.0.1 is the linux server, and 192.168.0.3 is my desktop XP machine.
192.168.0.1 (linux box) has
IP routing problem
location: ubuntuforums.com - date: August 31, 2011
First of all I'd like to say I'm a pretty big novice with Ubuntu and Linux in general.
My problem: I have an SSH server with multiple IPs and I'd like to SSH tunnel with some of these IPs. However, when I do tunnel it routes me back to one IP (which I believe is eth0).
2 network cards, 2 network connections routing problem
location: linuxquestions.com - date: February 23, 2004
I'm having problem with 2 network cards, both connected to Internet. First is connected to LAN, which is connected to ADSL and I want to use it for accessing the Internet. The other one is connected to Internet directly to ISP and has a static IP address, but I don't want to use it for normal Internet 'communication' web, mail, etc. It is actually IPsec connection to another network.
But every time I access the Internet, everything goes trough that other card.
What should I do ?
policy routing problem with fwmark
location: linuxquestions.com - date: January 28, 2014
I am trying to get policy routing work by fwmarking traffic in prerouting chain (mangle table) and all possible steps ...went through lots of mailig lists ...googled around a lot ...even disabled rp_filter in many ways ....(by conf/all...by conf/default...by conf/interface name....but..policy routing does not work ...if I try pinging a website thru a host whose address is marked...for poicy routing....it sgives time out...tracert shows that policy routing actually is working...because it goes to that gateway...but on nest hop...there is no response....ny ip route and ip rule are perfect......it works by specifying source ip in ip rule ...but as I try doing by mark ot tos it stops.....I want to route protocol wise thru selective gateways...is there any other way....???is there any solution ?? I am using centos6 ...tried to even mark packets coming from that alternate gateway....but no use please help..
Page: 1 2 3 4 5 6 7 8 9 10