My machine has multiple static IP addresses on the ethernet interface, which are configured with netctl.

The configuration file of netctl looks like:

```
Description='A basic static ethernet connection'
Interface=ens0
Connection=ethernet
IP=static
Address=('6.6.200.5/32' '6.6.100.23/22')
Gateway='6.6.6.1'
DNS=('1.1.1.1')
```

I would like to make `6.6.200.5/32`

the default source IP address for outgoing packets. But the route table always has `6.6.100.23/22`

be the default. Then, I have to run

```
ip route change default via 6.6.6.1 src 6.6.200.5 dev ens0
```

manually to override it everytime after booting.

My question is: it is possible to specify the default source address in the configuration file of netctl?

Unix & Linux Asked by Dummmy on November 21, 2021

0 Answers2 Asked on December 16, 2020 by aleksandr-dubinsky

1 Asked on December 16, 2020 by gr68

0 Asked on December 15, 2020 by ananthakrishna-k

1 Asked on December 15, 2020 by veverke

1 Asked on December 15, 2020 by vishnu-sajeevan

1 Asked on December 14, 2020 by arthur-m

1 Asked on December 14, 2020 by tanatos-daniel

1 Asked on December 13, 2020 by mikev

1 Asked on December 13, 2020 by pts

1 Asked on December 11, 2020

2 Asked on December 11, 2020

5 Asked on December 11, 2020 by user233520

4 Asked on December 10, 2020 by joni

Get help from others!

Recent Answers

- Lutz Lehmann on Differential equation, modulus signs in solution?
- N. Bar on Finding the volume when a parabola is rotated about the line $y = 4$.
- user10354138 on Proof that a continuous function with continuous right derivatives is differentiable.
- JJacquelin on Differential equation, modulus signs in solution?
- Gavin Ball on Invariant $SU(3)$ subgroup for ${bf 8}$ in ${bf 3}^* otimes {bf 3} ={bf 1} oplus {bf 8}$

Recent Questions

- Invariant $SU(3)$ subgroup for ${bf 8}$ in ${bf 3}^* otimes {bf 3} ={bf 1} oplus {bf 8}$
- Proof that a continuous function with continuous right derivatives is differentiable.
- Finding the volume when a parabola is rotated about the line $y = 4$.
- Differential equation, modulus signs in solution?
- Consider the sequence where $a_1>0$, $ka_n>a_{n+1}$ and $0<k<1$. Can we say it converges?

© 2021 InsideDarkWeb.com. All rights reserved.