VLAN Trunk and VRFs on Ubuntu 22.04 Server - server

so i need the following setup:
i have a Ubuntu 22.04 Server with 2 interfaces.
ens160: Management
ens192: Data
What i need to do is run the same docker application 10 times on this server. Since this should be a lab environment, all IP addresses the client machines connect to should be the same.
So what i came up with, is to have 10 VLANS (301 - 310) on a trunk on interface ens192. Each of this vlan should be in its own VRF and have the same IP address ( 10.0.0.252 ).
I cant figure out what the best way it is to configure this setup. I tried netplan but couldnt get it to work.
Can someone help me out here waht the best way is to accomplish this and how?
Best regards

Related

Which server will be best for website Xampp or Windows Server 2008

I'm using Xampp server (Apache server ) for my website however it has some connectivity issues with the internet and I can't access it online. So I was advised that I must use Windows server 2008. Let me know if this is a good idea or not. The Xampp has issue with port forward through Dynamic IP. Let me know the best option that I have.
To connect your Apache webserver to the internet you don't need to do any local port-forwarding, you should try port-forwarding with your router. If you're runing linux, you should type ifconfig and look for your default gateway, that's the ip your router is using.
Some ISP's force you to use their own website to port-forward though. Standard, apache always runs on port 80, which you should allow in your firewall using the TCP protocol.
Perhaps you could explain your situation more, Windows Server won't make the hosting easier though. You will most likely encounter the same problems.

oVirt engine 3.6 in local Internet **connectionless** network

I wanna use oVirt engine 3.6 in my Internet connectionless network. I installed oVirt with yum over internet. After that I tried to work offline. When I go offline Web Interface it still works fine. But I connected it to my local netowork Interface starts not to respond. I check POST/GET requests that made by it and I see it stuck on request/respond to/from GenericApiGWTService. For example, normally time between request and respond takes 1 to 600ms but when I connect it to local network it take up to 300.000ms second and eventually it fails. I use CentOS 7 x86_64. I couldn't figure out what is it cause to that.
I fix the problem by;
Use another IP from different address group then the one you use for
internet connection. Example: I used 192.168.1.10 for internet
connection. When I connect pc to local I changed it to 192.168.2.10
Delete all Gateway and DNS IPs.
Then it works fine.

how to setup web server,application server,db server on multiple vm?

I would like to do my study practice.
To install the multiservers seperating on multiple vm -web server in first vm ,app server in second and db server in the last vm .then,I will create my own webpage to test about accessing data in db .Each of vm is based on VMware in my computer and just do it on localhost environment.not need to connect internet.
How can I do this or Where can I find any Tutorial .Plese give me some suggestion to finish my project ^^"
Thank u very muchh
Just like what you do in physical machines. And IMHO, your question is too general and has nothing to do with virtual machines. I think what you are looking for is how to setup a web server and how to use a database. Why not check the sites such as nginx or apache and mysql or postgresql ?
First of all you need to run all the machines and connected with each other.
By doing this you'll get IP addresses of those machines..
Now simply replace your IP addresses with localhost according to server
Note that every machine must have an appropriate server

JBoss VPS External ip settings - working fine in local browser but not in external

On beforehand I have to say i'm a bit of a newbie.
I've sucscribed to a VPS with Ubuntu 11.04 server, I installed Jboss and am starting it with the -b 0.0.0.0 option.
Now if I lookup the address ip:8080 on a browser on the VPS itself it's working fine, but if I try to look it up on a browser on an external machine it isn't able to access the page.
I tried to modify the hosts file but without success. Maybe its the iptables? Or something else?
I really appreciate any help thanks.
Take the static IP of the server, ping that from your command line tool with ping. If you are successful in pinging the server you are all set. Now go to the browser of the external pc and type the static ip and give the port as 8080. It will certainly work.
Some good suggestion from my side is, try PaaS(platform as a service) now as that is much easier than VPS and you will get up and running in minutes. Try Jelastic. It has got JBoss hosting. Deploy your WAR file there and you can access it immediately. Ket me know if you really go ahead and use it.
Surya

Installing speeqe (XMPP/ejabberd) in a local development environment

To a non-developer this installation guide is very hard to get through. I'm on Mac OS X 10.6, I have apache and ejabberd installed (which is the bare minumum it says).
I have a few questions to get it up and running.
Where do I clone the git repository to on my computer? My desktop, /Users/fred/sites folder, or somewhere else?
are my HTTP DOMAIN and XMPP DOMAIN macpro.local (my local address) or localhost or something else?
For development purposes, I've been successfully using the ejabberd TurnKey Linux Appliance that combines ejabberd with Speeqe.
I'm not sure you're still interested, but the domains are going to have to be the network visible ones.
Your xmpp domain is how you would log in to the ejabberd server eg:
user#yourxmppservername.com if it is your local machine this might just be your ip address, but not macpro.local because then only your computer would be able to see it.