Displaying 6 results from an estimated 6 matches for "atjiyi".
2015 Mar 12
3
Centos 6 - Persistant static routes
....com> wrote:
>
>> I found:
>>
>> http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
>>
>> where it says to add to ifcfg-eth0:
>>
>> 192.168.128.0/17 via 40.53.24.3
That?s only for RHEL 7: http://goo.gl/AtjIyI
> ADDRESS0=192.168.128.0
> NETMASK0=255.255.128.0
> GATEWAY0=40.53.24.3
This is the scheme used in prior versions of RHEL.
2015 Mar 12
2
Centos 6 - Persistant static routes
...gt;
>>>> http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
>>>>
>>>> where it says to add to ifcfg-eth0:
>>>>
>>>> 192.168.128.0/17 via 40.53.24.3
>> That?s only for RHEL 7: http://goo.gl/AtjIyI
> Aside from being irritating, that's just wrong. I'm using that
> syntax on Centos5,
AH, I think I see what I did wrong. I put that line in the ifcfg-eth0
when according to this page, it goes in the route-eth0 just like the old
format. I will give that a try tomorrow...
>...
2015 Mar 12
0
Centos 6 - Persistant static routes
...I found:
>>>
>>> http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
>>>
>>> where it says to add to ifcfg-eth0:
>>>
>>> 192.168.128.0/17 via 40.53.24.3
>
> That?s only for RHEL 7: http://goo.gl/AtjIyI
Aside from being irritating, that's just wrong. I'm using that
syntax on Centos5,
>> ADDRESS0=192.168.128.0
>> NETMASK0=255.255.128.0
>> GATEWAY0=40.53.24.3
>
> This is the scheme used in prior versions of RHEL.
I think both types of syntax will work in all vers...
2015 Mar 12
0
Centos 6 - Persistant static routes
...ar 12, 2015 at 3:01 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>
>>>>>
>>>>> where it says to add to ifcfg-eth0:
>>>>>
>>>>> 192.168.128.0/17 via 40.53.24.3
>>>
>>> That?s only for RHEL 7: http://goo.gl/AtjIyI
>>
>> Aside from being irritating, that's just wrong. I'm using that
>> syntax on Centos5,
>
>
> AH, I think I see what I did wrong. I put that line in the ifcfg-eth0 when
> according to this page, it goes in the route-eth0 just like the old format.
> I w...
2015 Mar 12
1
Centos 6 - Persistant static routes
...l wrote:
> On Thu, Mar 12, 2015 at 3:01 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>>>>>> where it says to add to ifcfg-eth0:
>>>>>>
>>>>>> 192.168.128.0/17 via 40.53.24.3
>>>> That?s only for RHEL 7: http://goo.gl/AtjIyI
>>> Aside from being irritating, that's just wrong. I'm using that
>>> syntax on Centos5,
>>
>> AH, I think I see what I did wrong. I put that line in the ifcfg-eth0 when
>> according to this page, it goes in the route-eth0 just like the old format.
&g...
2015 Mar 12
6
Centos 6 - Persistant static routes
I know how to use 'ip' to set up a static route, e.g.:
ip route add 192.168.128.0/17 via 40.53.24.3 dev eth0
But if you reboot or restart network, you loose this. Thus you have to
make it persistant. I found:
http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
where it says to add to ifcfg-eth0:
192.168.128.0/17 via 40.53.24.3
But this