we have eth1; in the beginning it was proposed to create from eth1, eth1.2500 and eth1.240. It did not worked cause vlan 1.2500 was not tagged in the switch.
so they decided to leave eth1 like a physical interface with eth1.2500 config (removel vlan tag) and create eth1.240
but it did not work because when eth1.240 is up , the eth1 lose itīs gateway using eth1.240 gateway. manually we get to assing its gateway but its a temporal solution , cause if service network or server is restarted it turns back. we need a permanent solution.
i attach how is the config done:
bold line (last one) is the one which is not included in route tables by default, even if GATEWAY is configured in /etc/sysconfig/network
we looked for a file which could affect including a route by default but we didnt find it.
thanks , i really need help with this issue
cheers
Pablo
---------- Post updated at 07:42 AM ---------- Previous update was at 07:08 AM ----------
i rebooted the server, and iīīve been thinking about using this command
/sbin/ip route flush table all
but i think if i already rebooted after erase all eth1.240 (route too) files it would be useless
I have the below requirement. below is the content of the input file and my expected result
Input file: a.txt
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>XXXX</Name>
<ID>1233</ID>
</Employee>
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>YYYY</Name>
<ID>1345</ID>... (2 Replies)
I have an alias set on linux:
progs -> /home/user01/prog1.pl
the location of prog is changes to /home/user01/new/prog1.pl
so I need to modify alias, except I can not find where it is set. It is not in .bashrc or .profile, it is visible by "alias" command.
Sorry if it is trivial. (4 Replies)
I am facing below issue with my script. below is one of the test out of 50 test from the tool which i m trying to automate. the test may show up or may not depending upon the previous results and also from the test some inputs may be asked or may not be asked depending upon previous results so you... (1 Reply)
Hi all ,
I am looking for a KSH script to do the following:
1) take input string from a user .
2) grep this string in a file . the file format is like this
FUNCTION homeph_phone_id RETURN NUMBER;
FUNCTION vmph_phone_id RETURN NUMBER;
FUNCTION workph_phone_id RETURN NUMBER;
FUNCTION... (2 Replies)
I've tried to define an alias for the find cmd. I want a find -name and send the error messages to /dev/null. I entered the alias as followed:
# alias myfind 'find $1 -name $2 2>/dev/null'
But it didn't work. Any idea what's wrong with that? (2 Replies)