LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-03-2017, 12:54 PM   #1
end
Member
 
Registered: Aug 2016
Posts: 233

Rep: Reputation: Disabled
dhcpcd on two interface


hi

i have tap interface and dnsmasq on virtual pc. i do dhcpcd tap1 and he gets ip everything is fin. but when i try connect with interface wlp2s0 on network he canot get ip until i do dhcpcd -nk on tap1. way. they are on different subnets.

So as soon ad do dhcpcd tap1 i lose connection on wlp2s0, when i do dhcpcd -nk tap1 connection on wlp2s0 is back.

actualy i see i didnt check routing table it seems that another defoult route is added with tap1 ip addr.

another qestion

Hove to disable adding that defoult route when using dhcpcd

Last edited by end; 09-03-2017 at 02:15 PM.
 
Old 09-07-2017, 04:09 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,471

Rep: Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159
How did you solve it, or did you time out?
 
Old 09-07-2017, 08:20 AM   #3
end
Member
 
Registered: Aug 2016
Posts: 233

Original Poster
Rep: Reputation: Disabled
hi

after i see that dhcpcd add default route to evry interface after i do dhcpcd tap1 i manualy delite that route taht i dont need. i suppose that there is command inside dhcpcd that prevent adding default route but i didnt figur out have to do that so i just manualy delete what i dont need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling an interface per default (using dhcpcd?) spiri13 Linux - Networking 6 02-05-2017 06:11 AM
DDclient slack13 dhcpcd.sh vs dhcpcd.eth0.exe question nl1at Slackware 3 10-27-2010 01:51 PM
dhcpcd wireless problems. dhcpcd wlan0 removes essid entry in iwconfig. Romanus81 Slackware 3 08-25-2008 10:34 PM
How to stop eth0 interface on boot before dhcpcd lease SentralOrigin Linux - Networking 3 04-17-2007 11:59 PM
Interface will not associate after dhcpcd fails bulldozer Linux - Wireless Networking 0 11-25-2006 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration