Networking :: Configure PAT Using Iproute2?

May 26, 2011

I have a linux machine with 3 NICs, one for the local net and the other 2 for 2 different ISP's which i want to load balance.

I configured Load Balance on my linux box using iproute2 and what i found in this site [URL].

Im able to reach the internet using that box, but when i configure a pc from the local net with the linux machine as the gateway im not able to reach the internet.

The problem seems to be NAT concerned, so i was wondering, how can i configure PAT using iproute2 to get this result: -I want load balance to take place, and that translation occurs after the linux router decides through which interface (of the 2 i have configured to my ISP's) the packet is going out. (i dont know if that is possible)

View 1 Replies


ADVERTISEMENT

Networking :: How To Make Persistent Iproutes Using Iproute2

Jun 11, 2010

I would like to have the below lines loaded at bootup and anytime the network is restarted (if possible).

Code:

I am using SuSE 11.

View 1 Replies View Related

Networking :: Iproute2 Load Balancing Without Default Route?

Jan 12, 2011

I'm trying to set up load balancing using iproute2 following this guide. I've got 4 dsl links as follows:

eth1 - 100.100.100.1
eth2 - 100.100.100.2
eth3 - 100.100.100.3
eth0 - 111.111.111.111 (main uncapped line)

eth0 is the default route, and eth3 is being used for something else. So what I want to do is load balance browsing between eth1 and eth2. I've added all of the routes in the LARTC guide, but the command to enable the load balancing:

Quote:

ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1 obviously involves creating a new default route. Since I'll be using Squid to push the traffic through the relevant line, how can I set up a load-balanced link for eth1 and eth2 without changing the existing default route on the server?

View 1 Replies View Related

Networking :: OpenVPN And Routing With Redirect-gateway Iproute2 Solution

Apr 16, 2011

To be able to use my 3g connection from my laptop I am using Azilink.Azilink work by setting up a little Openvpn server on your smartphone then you connect to your smartphone from your laptop with OpenVPN.From there what i wanted was to use a second VPN connection to an external Linux host and redirecting all my traffic to that tunnel... (redirect-gateway + iptables)It is working but partially..Here is the way I connect through my phone (all steps are I think important for the routing issue...)

1) I plug the phone then a usb0 interface is created with the 192.168.239.5 ip adress (my phone is 192.168.239.4)Then adb connect 192.168.239.4

2) I have to enable a port forward on my phone adb forward tcp:41927 tcp:41927

3) I run the openvpn script (to connect to my phone on wich i have launched Azilink)

So Openvpn connect to 127.0.0.1:41927 (to my phone) From there I have a Initialization Sequence Completed
At this time I am connected through 3G via my smartphone to the Internet..And as you imagine i don't want to enter all the IP adresses of Internet minus RFC1918 manually via route command.I think the problem comes from the fact that when i do the route add default gw 10.8.0.5 it is overwritting all the routes required to establish the first and the second connection am i right? Could someone help me solve that issue ?

View 2 Replies View Related

General :: Iproute2 Not Functioning - Operation Not Supported

Jan 13, 2011

The command and error message:

gtwy ~ # ip rule add from 64.251.23.186 table t1
RTNETLINK answers: Operation not supported

Older article of the same problem, but it did not help me: http://forums.gentoo.org/viewtopic-t-696982-start-0-postdays-0-postorder-asc-highlight-.html

I have looked on google at great lengths to try to find a solution. It seems that my kernel configuration is missing something? My system/kernel is: 2.6.36-gentoo-r5 #3 SMP Thu Jan 13 10:49:06 EST 2011 x86_64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz GenuineIntel GNU/Linux.I am posting this on SuperUser since this system is used as a workstation and this problem is unrelated to specific tasks that are handled exclusively by servers.iproute2 is installed:

gtwy etc # emerge --search iproute2
Searching...
[ Results for search key : iproute2 ]
[ Applications found : 1 ]

[code]...

View 1 Replies View Related

Networking :: Configure The Wireless (broadcom) On Laptop - Arch Networking Completely Gone

May 15, 2011

I until yesterday when trying to configure the wireless (broadcom) on my laptop could browse the internet and install packages normally. but now none of the connections are working

[Code]....

View 2 Replies View Related

Networking :: Didn't Configure Networking During Installation?

Jan 14, 2011

I just installed Debian 5 on my system and I didnt have it on the network and I chose not to configure networking during installation. I plan to use static ip to stay on a private network most the time, but right now I want to quickly get out on the net to get some things..... So I want to get dhcp going and connect to my router to get out.I set up my interfaces file to say:

Code:
auto eth0
iface eth0 inet dhcp

[code]...

View 6 Replies View Related

Networking :: How To Configure BIND?

Feb 9, 2010

I know BIND is one of the most popular DNS servers used today but does anyone have any tips on how to configure BIND?

View 1 Replies View Related

Networking :: Configure Red Hat IP And Connecting To LAN

Apr 25, 2010

How to configure Red Hat IP. Here's what I'm trying to do use linux as a web server and at the same time connect the linux machine to local area network. So I need to configure one static ip such as 203......... and then 192.........

View 9 Replies View Related

Networking :: How To Configure MRTG

Jun 6, 2011

I am using Centos 5 as squid proxy server. I want to configure MRTG to monitor live visual representation of internet traffic.

View 8 Replies View Related

CentOS 5 Networking :: How To Configure DNS

Nov 30, 2009

I HAD TRIED AND COMPLETED CONFIGURING DHCP THROUGH dhcpd.conf file and now i am stucked at configuring DNS .. how to configure DNS on CENTOS.

View 2 Replies View Related

Fedora Networking :: How To Configure Telnet

Dec 26, 2010

install telnet in fedora 14 then how to configure telnet?

View 13 Replies View Related

Fedora Networking :: Cannot Configure New Networks?

Sep 4, 2011

Using Fedora 15 with Gnome 3 I am unable to configure a new network connection as the configure button is greyed out.I use a network without DHCP thus auto-connect is useless and I must enter the network configuration myself. This was simple to do in Gnome 2.x but is impossible in Gnome 3 as the configure button is greyed out when your not 'connected' to the network. Also when the auto-connect fails it switches the NIC 'off'.How am I meant to connect to a network requiring manual configuration when I can only configure networks I am already connected to?FYI: I have edited the configuration of other networks which do utilise DHCP but only after the initial connection was established by DHCP.

View 4 Replies View Related

Ubuntu Networking :: Can't Configure Vpn Connection

Mar 5, 2010

i am not aware how to configure pptp and vpn connection ?

View 2 Replies View Related

Ubuntu Networking :: Can't Configure New Router?

Aug 27, 2010

I just got a new wireless router (Asus WL-520GC). I can connect to the Internet, but I can't access 192.168.1.1 to configure the router (this is the correct address, according to the manual). It doesn't respond to a ping either.

Code:
$ ping -c4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

[code]....

View 9 Replies View Related

Networking :: Configure Dns Server By Using Gui Tool?

Oct 25, 2010

iam new user of linux and im trying to install dns server in fedora 12 and configure dns server by using gui tool.

View 1 Replies View Related

Networking :: Configure DDNS On RHEL 5?

Feb 5, 2010

I have setup dns on my rhel 5 server. It is working fine. My dhcp server is setup on my sonic firewall. The sonic firewall hands out our IP addresses. My dns server sees the static IP addresses but how do I get name resolution setup for dhcp?

View 1 Replies View Related

Networking :: Configure DNS To Resolve Hostname

Sep 8, 2010

I got an application deployed on Websphere Application Server on SUSE Linux V 10. We are accessing the application using the IP address in the URL. Please let me know how to configure the DNS, so that we can use the Host name in the URL and the Host name is automatically mapped to the IP address.

View 1 Replies View Related

Networking :: Configure Wifi Through Console?

Nov 8, 2009

I am trying to connect to wifi access point with terminal, I set up my own access point (no encryption or MAC filters) I ran followings commands

Code:

$ sudo iwlist eth1 scanning
eth1 Scan completed :
Cell 01 - Address: 00:11:2F:A2:99:1C
ESSID:"esus"

[code]....

Also I have another question, lets say I am connected to an AP but DHCP is disabled, also there is running web interface on AP throught I can set up DHCP and obtain IP address. How do I know what is IP of the AP which I am connected, is there a solution or I have to reset AP ?

Code:

$ echo -ne {0..255}.{0..255}.{0..255}.{0..255}"
" > addresses
$ sudo nmap -sS -iL addresses

View 15 Replies View Related

Networking :: Configure An Ip Address For Ubuntu?

Apr 25, 2011

The configuration is completely different than any other version of linux i've used.

View 2 Replies View Related

Networking :: Configure Ad-hoc Connection In Fedora 14.?

May 3, 2011

can anyone tell me the difference between the linux ad-hoc connection and window ad-hoc connection .....is it possible to make ad-hoc connection in fedora 14
if it so. how to setup ad-hoc connection between two laptop.

View 1 Replies View Related

Networking :: Configure AD-hoc Network Between Two Systems?

Mar 9, 2011

I am doing a project based on the AD-HOC network. i have to do this on the two linux systems currently i am using fedora 13 and opensuse 10.3 beacuse the two laptops supports only these. the exact problem is how to configure the adhoc network to connect these two systems urgent reply needed please

View 1 Replies View Related

Networking :: Configure Ics In Redhat 5.0 Verson?

Aug 11, 2010

i m kapil sharma, i want to know about linux server configration in redhat linux 5.0? how i configure ICS service in rdhat linux 5.0? i have two lan cards in the system and one ip address assigned by ISP.I want to configure linux sever to share this ip address in network approx 100 pc's of widow's xp.

View 4 Replies View Related

Networking :: Configure Network In OEL On VMware

Aug 5, 2010

I installed OEL4 on both of my Laptops using VMware with Windows 7 as HOST.

I want to configure RMAN. So I need individual IP addresses.

Now how can I ping these both Linux (OELs) from VMwares.?

How to configure the network b/w these two? I have a Ethernet cable. (No router)

In simple:

How to ping two Guest OSs (which are installed on two diff Laptops) which are in VMware with windows 7 as Host.?

View 3 Replies View Related

Networking :: How To Configure Port Forwarding

Mar 23, 2011

I have my mail application running on xxxx port in IPv6 and IPv4 enviornment on Linux machine (RHEL 5).I want to forward IPv4 request comming from windows client

View 2 Replies View Related

Networking :: How To Configure Intranet PC As Gateway

May 1, 2009

I am using Fedora 10. I have a network design like that:

WinServer --- (r1)router(r0) --- (eth1)LinuxPC(eth0) --- intranetPC
All netmask is 255.255.255.0
WinServer network is 192.168.1.0/24
intranetPC network is 10.10.0.0/24, gateway is IP of the LinuxPC(eth0): 10.10.0.2

Router:
r1 -IP: 192.168.1.253
r2 -IP: 10.10.0.253

LinuxPC
eth0 -IP: 10.10.0.2
eth1
-IP: 10.10.0.40
-GW: 10.10.0.253

I search in Internet several days to find how to configure the LinuxPC to a gateway. The LinuxPC can ping and connect the WinServer and intranetPC correctly, but the intranetPC cannot ping and connect the WinServer network.

I used the webmin to configure the Gateway.
I used the iptables to set allow all connect, than
iptables -t nat -A POSTROUTING -eth1 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
In "/etc/sysconfig/network" add "FORWARD_IPV4=true"

View 11 Replies View Related

Networking :: Configure Multipathd On Virtual?

Jul 21, 2011

how would I simulate on any virtual environment (VMware/VBox/ KVM/QEmu) setup of SAN, SAN switches and 2 HBA cards connected to the SAN switches so that I can be good at configuring multipathd?

View 1 Replies View Related

Networking :: How To Configure Remote Server

May 2, 2011

how to configure remote server....and how many maximum user loging remotely

View 8 Replies View Related

Networking :: Squid Configure From Tar Ball?

Oct 28, 2010

I want full commands from creating of folders for the log dir & giving permissions to the directories to the script of /etc/rc.d/init.d/squid

View 2 Replies View Related

Networking :: How To Configure SSL Certificates (CSR Files)

Jul 13, 2010

Does anyone know how to configure an SSL cert with GoDaddy? On the following squid page it seems to use x509 and PEM format for everything. GoDaddy seems want CSR files to issue the cert. The x509 & PEM combo don't seem to generate these CSR files in the correct format. Does anyone know the openssl commands to generate the files and the config line(s) to put in squid.conf?

I started from this wiki: [URL]
I also tried following this godaddy wiki, but it was for apache and not squid [URL]

View 1 Replies View Related







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