D3f0 / D3f0/coreemu

avoid double-setting of IP address

Open
#179 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Tcl
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
This is to remind of an issue in which both zebra and the daemon try to set the
same IP address; this type of non-fatal error is printed out.

n1: cmd exited with status 512: ['/sbin/ip', 'addr', 'add', '10.0.0.1/16',
'dev', 'eth0']

The suggested solution is to have the code using /sbin/ip first check if the
desired address has already been set on the interface.

```

Original issue reported on code.google.com by `tomh....@gmail.com` on 15 Feb 2013 at 11:36

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that invokes /sbin/ip to add an address, then inspect how zebra and the daemon configure interfaces. Reproduce the duplicate 10.0.0.1/16 assignment if possible; done means an already-configured address is detected before the command runs and the non-fatal error is no longer printed.

Written by the indexing model from the issue text.

Assessment

Domain
networking, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.