You are not logged in.

#1 2017-04-05 02:29:03

RendHeaven
Member
Registered: 2017-01-20
Posts: 10

No Internet Connection when bringing up Ethernet Interface

So I have a WD My Cloud and decided to connect it via Ethernet cable

My WD Cloud has a static IP of:

192.168.1.230

My wifi has DHCP which gives me:

192.168.1.169

I decided to give bring up my Ethernet interface with:

192.168.1.220

I was able to successfully access the WD My Cloud via Samba

Unfortunately my internet doesn't work anymore after that

I tried a bunch of IP configuration:

ip addr add 192.168.1.220/24 dev enp3s0
ip link set enp3s0 up

I tried adding scope to ip addr and set it to either link or host

Here is how my ip route list looks like:

default via 192.168.1.254 dev wlp2s0 src 192.168.1.169 metric 303 
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.220 linkdown 
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.169 metric 303 

Here is what my ip addr looks like:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 54:ee:75:2c:79:b1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.220/24 scope global enp3s0
       valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 30:3a:64:d9:a5:2b brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.169/24 brd 192.168.1.255 scope global wlp2s0
       valid_lft forever preferred_lft forever
    inet6 2001:569:76c8:7600:323a:64ff:fed9:a52b/64 scope global mngtmpaddr dynamic 
       valid_lft 86350sec preferred_lft 14350sec
    inet6 fe80::323a:64ff:fed9:a52b/64 scope link 
       valid_lft forever preferred_lft forever

I'm kinda confused right now on what to do. I read some answers online but most of it was using ubuntu's network connection UI settings:

http://askubuntu.com/questions/424474/h … f-ethernet
http://askubuntu.com/questions/639100/h … -14-04-lts

Should I use a different network for My WD Cloud? I tried doing it a while ago but WD My Cloud doesn't let me access the UI interface settings when I set the network to other than 192.168.1.0/24 network.

Last edited by RendHeaven (2017-04-05 02:33:36)

Offline

#2 2017-04-05 05:07:53

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: No Internet Connection when bringing up Ethernet Interface

You can't have the same Layer 3 (IP) on 2 different Layer 2 devices (wired and wireless)*.

Why are you trying to connect to the same network via both interfaces?

* Unless you use something like bonding/trunking.

Offline

#3 2017-04-05 05:19:11

RendHeaven
Member
Registered: 2017-01-20
Posts: 10

Re: No Internet Connection when bringing up Ethernet Interface

fukawi2 wrote:

You can't have the same Layer 3 (IP) on 2 different Layer 2 devices (wired and wireless)*.

Why are you trying to connect to the same network via both interfaces?

* Unless you use something like bonding/trunking.

I'm working on some big data analysis. The one connected on my Ethernet is basically acting like a NAS. And of course I need the wireless for using the Internet to google and research.

Last edited by RendHeaven (2017-04-05 05:19:46)

Offline

#4 2017-04-05 05:21:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: No Internet Connection when bringing up Ethernet Interface

Right; both networks are using the same Layer 3 (IP) subnet: 192.168.1.0/24  which won't work, as you've found.

You need to change one of them.  It would probably be easiest to change the NAS to be something else (for example, 192.168.2.230) and then configure your ethernet interface to match.

Offline

Board footer

Powered by FluxBB