Share network with second ethernet port ubuntu 17.10
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I want to share network from enp1s9 with second interface enp1s10.
The same function in windows bridge adapter.
I was trying use bridge and bonds, but without succes.
Becouse of ubuntu 17.10 I am using netplan.
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: no
dhcp6: no
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
dhcp6: true
How I have to modify netplan??
Thanks for any help.
networking server ethernet netplan
add a comment |Â
up vote
0
down vote
favorite
I want to share network from enp1s9 with second interface enp1s10.
The same function in windows bridge adapter.
I was trying use bridge and bonds, but without succes.
Becouse of ubuntu 17.10 I am using netplan.
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: no
dhcp6: no
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
dhcp6: true
How I have to modify netplan??
Thanks for any help.
networking server ethernet netplan
You have nobridges
stanzas which suggests that you have not bothered reading the manual.man 5 netplan
people.canonical.com/~mtrudel/netplan
â Ken Sharp
Feb 17 at 10:27
Hi @Ondrej, welcome to askubuntu -- if one of the answers works for you, please accept it (even your own is fine)
â dpb
Apr 11 at 3:09
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to share network from enp1s9 with second interface enp1s10.
The same function in windows bridge adapter.
I was trying use bridge and bonds, but without succes.
Becouse of ubuntu 17.10 I am using netplan.
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: no
dhcp6: no
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
dhcp6: true
How I have to modify netplan??
Thanks for any help.
networking server ethernet netplan
I want to share network from enp1s9 with second interface enp1s10.
The same function in windows bridge adapter.
I was trying use bridge and bonds, but without succes.
Becouse of ubuntu 17.10 I am using netplan.
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: no
dhcp6: no
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
dhcp6: true
How I have to modify netplan??
Thanks for any help.
networking server ethernet netplan
networking server ethernet netplan
asked Feb 17 at 9:48
Ondà Âej Ilichman
162
162
You have nobridges
stanzas which suggests that you have not bothered reading the manual.man 5 netplan
people.canonical.com/~mtrudel/netplan
â Ken Sharp
Feb 17 at 10:27
Hi @Ondrej, welcome to askubuntu -- if one of the answers works for you, please accept it (even your own is fine)
â dpb
Apr 11 at 3:09
add a comment |Â
You have nobridges
stanzas which suggests that you have not bothered reading the manual.man 5 netplan
people.canonical.com/~mtrudel/netplan
â Ken Sharp
Feb 17 at 10:27
Hi @Ondrej, welcome to askubuntu -- if one of the answers works for you, please accept it (even your own is fine)
â dpb
Apr 11 at 3:09
You have no
bridges
stanzas which suggests that you have not bothered reading the manual. man 5 netplan
people.canonical.com/~mtrudel/netplanâ Ken Sharp
Feb 17 at 10:27
You have no
bridges
stanzas which suggests that you have not bothered reading the manual. man 5 netplan
people.canonical.com/~mtrudel/netplanâ Ken Sharp
Feb 17 at 10:27
Hi @Ondrej, welcome to askubuntu -- if one of the answers works for you, please accept it (even your own is fine)
â dpb
Apr 11 at 3:09
Hi @Ondrej, welcome to askubuntu -- if one of the answers works for you, please accept it (even your own is fine)
â dpb
Apr 11 at 3:09
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
You need to define a bridge. As Ken Sharp posted, this is in the documentation.
network:
version: 2
renderer: networkd
ethernets:
enp1s9:
dhcp4: false
enp1s10:
dhcp4: false
bridges:
br0:
interfaces: [ethernets]
dhcp4: true
parameters:
stp: false
forward-delay: 0
This should in theory work. I've not tested it, as I don't have a box with netplan avaialable.
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
add a comment |Â
up vote
1
down vote
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: false
dhcp6: false
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
bridges:
br0:
interfaces: [enp1s9, enp1s10]
dhcp4: true
parameters:
stp: false
forward-delay: 0
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You need to define a bridge. As Ken Sharp posted, this is in the documentation.
network:
version: 2
renderer: networkd
ethernets:
enp1s9:
dhcp4: false
enp1s10:
dhcp4: false
bridges:
br0:
interfaces: [ethernets]
dhcp4: true
parameters:
stp: false
forward-delay: 0
This should in theory work. I've not tested it, as I don't have a box with netplan avaialable.
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
add a comment |Â
up vote
1
down vote
You need to define a bridge. As Ken Sharp posted, this is in the documentation.
network:
version: 2
renderer: networkd
ethernets:
enp1s9:
dhcp4: false
enp1s10:
dhcp4: false
bridges:
br0:
interfaces: [ethernets]
dhcp4: true
parameters:
stp: false
forward-delay: 0
This should in theory work. I've not tested it, as I don't have a box with netplan avaialable.
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You need to define a bridge. As Ken Sharp posted, this is in the documentation.
network:
version: 2
renderer: networkd
ethernets:
enp1s9:
dhcp4: false
enp1s10:
dhcp4: false
bridges:
br0:
interfaces: [ethernets]
dhcp4: true
parameters:
stp: false
forward-delay: 0
This should in theory work. I've not tested it, as I don't have a box with netplan avaialable.
You need to define a bridge. As Ken Sharp posted, this is in the documentation.
network:
version: 2
renderer: networkd
ethernets:
enp1s9:
dhcp4: false
enp1s10:
dhcp4: false
bridges:
br0:
interfaces: [ethernets]
dhcp4: true
parameters:
stp: false
forward-delay: 0
This should in theory work. I've not tested it, as I don't have a box with netplan avaialable.
answered Feb 17 at 11:00
![](https://i.stack.imgur.com/AKwUL.png?s=32&g=1)
![](https://i.stack.imgur.com/AKwUL.png?s=32&g=1)
vidarlo
7,21642140
7,21642140
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
add a comment |Â
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Thanks, but I need to have enp1s9 stil available on defined IP.
â Ondà Âej Ilichman
Feb 17 at 11:16
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
Why won't a IP on the bridge do?
â vidarlo
Feb 17 at 11:26
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
I need to acces for other services running on server. Will be it possible when I set IP on bridge?
â Ondà Âej Ilichman
Feb 17 at 13:33
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
It will be possible. Try it.
â vidarlo
Feb 17 at 15:28
add a comment |Â
up vote
1
down vote
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: false
dhcp6: false
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
bridges:
br0:
interfaces: [enp1s9, enp1s10]
dhcp4: true
parameters:
stp: false
forward-delay: 0
add a comment |Â
up vote
1
down vote
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: false
dhcp6: false
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
bridges:
br0:
interfaces: [enp1s9, enp1s10]
dhcp4: true
parameters:
stp: false
forward-delay: 0
add a comment |Â
up vote
1
down vote
up vote
1
down vote
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: false
dhcp6: false
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
bridges:
br0:
interfaces: [enp1s9, enp1s10]
dhcp4: true
parameters:
stp: false
forward-delay: 0
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
enp1s9:
dhcp4: false
dhcp6: false
addresses: [192.168.0.100/24]
gateway4: 192.168.0.1
wakeonlan: true
nameservers:
addresses: [8.8.8.8,8.8.4.4]
enp1s10:
dhcp4: true
bridges:
br0:
interfaces: [enp1s9, enp1s10]
dhcp4: true
parameters:
stp: false
forward-delay: 0
edited Feb 17 at 14:56
answered Feb 17 at 13:20
Ondà Âej Ilichman
162
162
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007022%2fshare-network-with-second-ethernet-port-ubuntu-17-10%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You have no
bridges
stanzas which suggests that you have not bothered reading the manual.man 5 netplan
people.canonical.com/~mtrudel/netplanâ Ken Sharp
Feb 17 at 10:27
Hi @Ondrej, welcome to askubuntu -- if one of the answers works for you, please accept it (even your own is fine)
â dpb
Apr 11 at 3:09