- This topic has 2 replies, 2 voices, and was last updated Dec 7-6:31 pm by Keeely.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › Network configuration of br0, tap0 etc…
I’d like to setup a couple of real NICs, but where eth1 and tap0 is part of a bridge br0. In the past I’d just run a series of tunctl, brctl or ip/ifconfig commands to do this, but rather than stick all that lot into /etc/rc.local I’m trying to figure out the proper way to do it with antiX/Debian.
I’ve seen examples that put, e.g.:
source /etc/network/interfaces.d/*
into /etc/network/interfaces along with just the lo definition, but I was wondering if I create br0 file like this:
auto br0
iface br0 inet static
address 172.17.0.2
broadcast 172.17.255.255
netmask 255.255.0.0
bridge_ports eth1 tap0
And also a tap0 like this:
auto tap0
iface tap0 inet static
address 0.0.0.0
Is it guaranteed that the tap one gets parsed and understood before the br0 one?
I don’t know from what antiX version you are starting with (net, core, base or full), but I think you are going the right path. I do believe that the order is as you describe, and should work, but my experience with editing /etc/network/interfaces is limited to eth0 and wla0, and nothing special like port redirecting or bridges, so I am not of much help here.
If using antiX full or base, make sure that you are using ifup/down, stop connman services (and remove from autostart at boot), reconfigure the etc/resolv.conf symlink, etc. if using /etc/network/interfaces. Using ceni (Curses /etc/network/interfaces). You could use the antix-wifi-swiitch to reconfigure all that in one go.
Hope someone with more experience can provide some guidance.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.
I think for now I will just drop the eth0 definition into that interfaces.d directory, and keep everything else where order matters in the main interfaces file. It’s a compromise as I wanted to have each definition in separate file, but it’ll do, thanks.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |