Lab 3.2 Network Node\Port ?
Trying to execute this command Step two in this section
student@lfs458-node-1a0a:~$ ip addr show ens4 | grep inet
inet 10.128.0.3/32 brd 10.128.0.3 scope global ens4
inet6 fe80::4001:aff:fe8e:2/64 scope link
The text above states:
Find the IP address of your master server. The interface name will be different depending on where the node is running.
Currently inside of GCE the primary interface for this node type is ens4. Your interfaces names may be different. From
the output we know our master node IP is 10.128.0.3
So I figured out my IP:
student@ubuntu:~$ kubectl describe service
Name: kubernetes
Namespace: default
Labels: component=apiserver
provider=kubernetes
Annotations:
Selector:
Type: ClusterIP
IP: 10.96.0.1
Port: https 443/TCP
TargetPort: 6443/TCP
Endpoints: 192.168.44.131:6443
Session Affinity: None
Events:
SO what\where\how do I get the section that is highlights? What is the node type. This is not in the Google cloud so I can not assume the same default. This is running on the VMWare instance local. Doing a google search is not helpful on this topic at all.
For me to do these lines outside of the IP address I am not sure what is based off my machine and what is the actual command.
inet 10.128.0.3/32 brd 10.128.0.3 scope global ens4
inet6 fe80::4001:aff:fe8e:2/64 scope link
Sorry I am completely lost on this one.
Thank you.
Comments
-
I found this:
student@ubuntu:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
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: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:f3:36:9a brd ff:ff:ff:ff:ff:ff
inet 192.168.44.131/24 brd 192.168.44.255 scope global dynamic ens33
valid_lft 1446sec preferred_lft 1446sec
inet 192.168.44.131/24 brd 192.168.44.255 scope global dynamic ens33
valid_lft forever preferred_lft foreverGiven the name close ens33. I assume that is the node i am looking to connect to. OH!! So this part is what I need to put in the worker config:
inet 192.168.44.131/24 brd 192.168.44.255 scope global dynamic ens33
inet 192.168.44.131/24 brd 192.168.44.255 scope global dynamic ens330 -
Thank you serewicz. I did sign up for the other class, it starts tomorrow
Thank you for confirming0 -
Hi, the course starting tomorrow does not cover any Linux or Networking basics. However, The Linux Foundation does offer a more suitable course which targets the basics - https://www.edx.org/course/introduction-to-linux. Hope you find it helpful.
Regards,
-Chris0 -
OH, great thank you for the clarification. I will work on that tonight as I am getting stuck again
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)