[ale] Need help with routes
Lightner, Jeff
JLightner at water.com
Thu Aug 9 10:59:59 EDT 2012
I haven't done it on Debian but online searches seem to suggest you do the persistent routing setup in /etc/network/interfaces rather than /etc/network/routes for Debian. (In RHEL you do it in /etc/sysconfig/network-scripts/route-<nic> as you indicated.)
A couple of the sites I saw:
http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
http://www.tampabaycomputing.com/blog/how-to-setup-static-persistent-route-in-debian-ubuntu
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Chuck Payne
Sent: Thursday, August 09, 2012 10:37 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Need help with routes
Erik,
I can't follow. Maybe I should have asked how to you get what is in CentOS/RHEL
route-eth0
I was told that I could set that up with iproute2. I see from what you have give em this...
Setup system's static routes based on the "/etc/network/routes" definition
How can I set that up?
Chuck
On Thu, Aug 9, 2012 at 7:54 AM, Erik Mathis <erik at mathists.com> wrote:
> I'm assuming you wanted persistent routes?
>
> http://www.debian.org/doc/manuals/debian-reference/ch05.en.html
>
> The quick and dirty to add a route with iproute2
>
> ip ro add 1.2,3.4/net via ${gateway}
>
> -Erik-
>
> On Wed, Aug 8, 2012 at 4:36 PM, Chuck Payne <terrorpup at gmail.com> wrote:
>> Guys,
>>
>> I am trying to get a proxmox ve server up and running. I am trying to
>> get routes working on this server, proxmox ve using debian as it's
>> base.
>>
>> This server is our data center, we can access all server from our
>> office via vpn connection. Most server that are running RHEL the
>> route looks like this.
>>
>> # route
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use Iface
>> 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
>> 10.1.0.0 10.1.0.254 255.255.255.0 UG 0 0 0 eth1
>> 172.21.1.0 10.0.0.254 255.255.255.0 UG 0 0 0 eth0
>> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
>> default 10.0.0.254 0.0.0.0 UG 0 0 0 eth0
>>
>>
>> 10.0.0.0/24 is prod
>> 10.1.0.0/24 is backup
>> 172.21.1.0/24 is vpn
>>
>> On the proxmox server I have two nic that are bridge (vmbr0/eth0)
>> (vmbr1/eth1)
>>
>> vmbr0 Link encap:Ethernet HWaddr 00:13:72:66:71:a5
>> inet addr:10.0.0.61 Bcast:10.0.0.255 Mask:255.255.255.0
>> inet6 addr: fe80::213:72ff:fe66:71a5/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:23304 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:11507 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:1946077 (1.8 MiB) TX bytes:1433780 (1.3 MiB)
>>
>> vmbr1 Link encap:Ethernet HWaddr 00:13:72:66:71:a7
>> inet addr:10.1.0.61 Bcast:10.1.0.255 Mask:255.255.255.0
>> inet6 addr: fe80::213:72ff:fe66:71a7/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:5963 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:561867 (548.6 KiB) TX bytes:2190 (2.1 KiB)
>>
>>
>> I understand in Debian you need to use iproute2 to make the route
>> static, correct? Here what have, but I am not sure if it goes int
>> othe
>>
>> --
>> Terror PUP a.k.a
>> Chuck "PUP" Payne
>>
>> (678) 636-9678
>> -----------------------------------------
>> Discover it! Enjoy it! Share it! openSUSE Linux.
>> -----------------------------------------
>> openSUSE -- en.opensuse.org/User:Terrorpup openSUSE
>> Ambassador/openSUSE Member Community Manager -- Southeast Linux
>> Foundation (SELF) skype,twiiter,identica,friendfeed -- terrorpup
>> freenode(irc) --terrorpup/lupinstein
>> Register Linux Userid: 155363
>>
>> Have you tried SUSE Studio? Need to create a Live CD, an app you
>> want to package and distribute , or create your own linux distro.
>> Give SUSE Studio a try. www.susestudio.com.
>> See you at Southeast Linux Fest, June 8-10, 2012 in Charlotte, NC.
>> www.southeastlinuxfest.org
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
--
Terror PUP a.k.a
Chuck "PUP" Payne
(678) 636-9678
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- en.opensuse.org/User:Terrorpup openSUSE Ambassador/openSUSE Member Community Manager -- Southeast Linux Foundation (SELF) skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363
Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. www.susestudio.com.
See you at Southeast Linux Fest, June 8-10, 2012 in Charlotte, NC.
www.southeastlinuxfest.org
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Athena(r), Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer
---------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
More information about the Ale
mailing list