Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17905

Question on 'post up' in ifconfig file (debian/ubuntu based)

$
0
0

Hi all,

I'm curious if anyone else has come across this issue.....

I have a few post-up commands in my interfaces file. I create a new route table and add a rule.

I have a few interfaces in this file.... all with similiar rules (but unique to that interface IP addresses)

I've noticed on reboot, sometimes all the tables aren't automatically added. The only thing I can think of is there is some race condition on running these commands, either with the the interface truly being "up" or perhaps with the kernel's ability to accept them.

Is there any way to determine what the issue is why sometimes it fails (when I later run those same commands manually, it works fine).

And if this is my issue, is there a better, more reliable, way to do this?

submitted by /u/vaterp
[link] [comments]

Viewing all articles
Browse latest Browse all 17905

Trending Articles